#F2D67F#F2D67F
#F2D67F is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.111 H 92.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D67F |
|---|---|
| RGB | rgb(242, 214, 127) |
| HSL | hsl(45, 82%, 72%) |
| HSV | hsv(45, 48%, 95%) |
| CMYK | cmyk(0%, 11.6%, 47.5%, 5.1%) |
| CIE-LAB | lab(86.26, -1.39, 46.31) |
| CIE-LCH | lch(86.26, 46.33, 91.72°) |
| OKLab | oklab(88.11% -0.0041 0.1113) |
| OKLCH | oklch(88.11% 0.111 92.1) |
| XYZ | xyz(64.4974, 68.5054, 29.9001) |
| Luminance | 0.6850 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 2.02
Sandy
#F1DA7A
ΔE00 2.23
Sand (survey)
#E2CA76
ΔE00 3.18
Pale Gold
#FDDE6C
ΔE00 4.16
Light Mustard
#F7D560
ΔE00 4.26
Yellow Tan
#FFE36E
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D67F #7F9BF2
analogous
#F29C7F #F2D67F #D5F27F
triadic
#F2D67F #7FF2D6 #D67FF2
tetradic
#F2D67F #7FF29C #7F9BF2 #F27FD5
square
#F2D67F #7FF29C #7F9BF2 #F27FD5
split-complementary
#F2D67F #7FD5F2 #9C7FF2
monochromatic
#E0AF17 #ECC447 #F2D67F #F8E8B7 #FCF6E3
Accessibility & contrast
On white
1.43
#F2D67F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.70
#F2D67F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D67F
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D67F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D67F | 1.00 | 1.43 | 14.70 | 14.70 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D378
Deuteranopia (green-blind)
#EEDB82
Tritanopia (blue-blind)
#FFCAC1
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d67f; /* rgb */ color: rgb(242, 214, 127); /* oklch */ color: oklch(88.1% 0.111 92.1);
Tailwind
colors: {
custom: {
50: '#f8e2a5',
500: '#f2d67f',
950: '#000000',
},
}SCSS
$custom: #f2d67f; $custom-light: #f8e2a5; $custom-dark: #000000;
JSON
{
"hex": "#f2d67f",
"rgb": {
"r": 242,
"g": 214,
"b": 127
},
"hsl": {
"h": 45.391,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.88113,
"c": 0.11138,
"h": 92.1
},
"luminance": 0.68503
}Semantic roles & 50–950 ramp
primary
#F2D67F
secondary
#4869CD
accent
#3CDE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480