#FFFFF0
ivory
#FFFFF0 is a yellow colour. In RGB it is 255 red, 255 green and 240 blue, which converts to a hue of 60 degrees, 100% saturation and 97% lightness. It is one of the named CSS colours, written as ivory in stylesheets.
Color values
| HEX | #FFFFF0 |
|---|---|
| RGB | rgb(255, 255, 240) |
| HSL | hsl(60, 100%, 97%) |
| HSV | hsv(60, 6%, 100%) |
| CMYK | cmyk(0%, 0%, 6%, 0%) |
Contrast and accessibility
Against white the contrast ratio is 1.01:1, and against black it is 20.81:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.01:1 | Fail | Fail |
| Black | 20.81:1 | AAA | AAA |
Tints and shades
Lighter tints move #FFFFF0 toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #FFFFF0; |
|---|---|
| CSS rgb() | color: rgb(255 255 240); |
| Tailwind | bg-[#fffff0] |
| SwiftUI | Color(red: 1.000, green: 1.000, blue: 0.941) |
| Android | Color.parseColor("#FFFFF0") |