#F2EF8B#F2EF8B
#F2EF8B is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.3% C 0.123 H 107.0°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EF8B |
|---|---|
| RGB | rgb(242, 239, 139) |
| HSL | hsl(58, 80%, 75%) |
| HSV | hsv(58, 43%, 95%) |
| CMYK | cmyk(0%, 1.2%, 42.6%, 5.1%) |
| CIE-LAB | lab(92.78, -12.80, 48.58) |
| CIE-LCH | lch(92.78, 50.23, 104.76°) |
| OKLab | oklab(93.33% -0.0359 0.1171) |
| OKLCH | oklch(93.33% 0.123 107) |
| XYZ | xyz(72.1460, 82.4760, 36.5401) |
| Luminance | 0.8247 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.77
Buff
#FEF69E
ΔE00 2.84
Dark Cream
#FFF39A
ΔE00 3.12
Manilla
#FFFA86
ΔE00 3.15
Straw
#FCF679
ΔE00 3.68
Yellowish Tan
#FCFC81
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EF8B #8B8EF2
analogous
#F2BB8B #F2EF8B #C2F28B
triadic
#F2EF8B #8BF2EF #EF8BF2
tetradic
#F2EF8B #8BF2BB #8B8EF2 #F28BC2
square
#F2EF8B #8BF2BB #8B8EF2 #F28BC2
split-complementary
#F2EF8B #8BC2F2 #BB8BF2
monochromatic
#E6E01D #ECE754 #F2EF8B #F8F7C2 #FCFBE3
Accessibility & contrast
On white
1.20
#F2EF8B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.49
#F2EF8B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EF8B
17.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EF8B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EF8B | 1.00 | 1.20 | 17.49 | 17.49 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE883
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #f2ef8b; /* rgb */ color: rgb(242, 239, 139); /* oklch */ color: oklch(93.3% 0.123 107.0);
Tailwind
colors: {
custom: {
50: '#f8f4ae',
500: '#f2ef8b',
950: '#000000',
},
}SCSS
$custom: #f2ef8b; $custom-light: #f8f4ae; $custom-dark: #000000;
JSON
{
"hex": "#f2ef8b",
"rgb": {
"r": 242,
"g": 239,
"b": 139
},
"hsl": {
"h": 58.252,
"s": 79.845,
"l": 74.706
},
"oklch": {
"l": 0.93333,
"c": 0.12252,
"h": 107
},
"luminance": 0.82474
}Semantic roles & 50–950 ramp
primary
#F2EF8B
secondary
#5356CE
accent
#0FDC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581