#F4F2AF#F4F2AF
#F4F2AF is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.7% C 0.085 H 106.5°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F4F2AF |
|---|---|
| RGB | rgb(244, 242, 175) |
| HSL | hsl(58, 76%, 82%) |
| HSV | hsv(58, 28%, 96%) |
| CMYK | cmyk(0%, 0.8%, 28.3%, 4.3%) |
| CIE-LAB | lab(94.24, -9.48, 32.67) |
| CIE-LCH | lch(94.24, 34.02, 106.17°) |
| OKLab | oklab(94.7% -0.0242 0.0819) |
| OKLCH | oklch(94.7% 0.085 106.5) |
| XYZ | xyz(76.7985, 85.8338, 53.0710) |
| Luminance | 0.8583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Palegoldenrod
#EEE8AA
ΔE00 2.41
Light Beige
#FFFEB6
ΔE00 2.53
Parchment
#FEFCAF
ΔE00 2.65
Creme
#FFFFB6
ΔE00 2.77
Cream (survey)
#FFFFC2
ΔE00 3.03
Light Tan
#FBEEAC
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4F2AF #AFB1F4
analogous
#F4D0AF #F4F2AF #D4F4AF
triadic
#F4F2AF #AFF4F2 #F2AFF4
tetradic
#F4F2AF #AFF4D0 #AFB1F4 #F4AFD4
square
#F4F2AF #AFF4D0 #AFB1F4 #F4AFD4
split-complementary
#F4F2AF #AFD4F4 #D0AFF4
monochromatic
#E5E143 #EDE979 #F4F2AF #FBFBE4 #FBFBE4
Accessibility & contrast
On white
1.16
#F4F2AF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.17
#F4F2AF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4F2AF
18.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4F2AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4F2AF | 1.00 | 1.16 | 18.17 | 18.17 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDEDAB
Deuteranopia (green-blind)
#FFF0B2
Tritanopia (blue-blind)
#FEEAE0
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f4f2af; /* rgb */ color: rgb(244, 242, 175); /* oklch */ color: oklch(94.7% 0.085 106.5);
Tailwind
colors: {
custom: {
50: '#f8f6c7',
500: '#f4f2af',
950: '#000000',
},
}SCSS
$custom: #f4f2af; $custom-light: #f8f6c7; $custom-dark: #000000;
JSON
{
"hex": "#f4f2af",
"rgb": {
"r": 244,
"g": 242,
"b": 175
},
"hsl": {
"h": 58.261,
"s": 75.824,
"l": 82.157
},
"oklch": {
"l": 0.94701,
"c": 0.08536,
"h": 106.5
},
"luminance": 0.85833
}Semantic roles & 50–950 ramp
primary
#F4F2AF
secondary
#7376D4
accent
#13D80D
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582