#F2E46A#F2E46A
#F2E46A is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.7% C 0.143 H 102.8°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E46A |
|---|---|
| RGB | rgb(242, 228, 106) |
| HSL | hsl(54, 84%, 68%) |
| HSV | hsv(54, 56%, 95%) |
| CMYK | cmyk(0%, 5.8%, 56.2%, 5.1%) |
| CIE-LAB | lab(89.58, -10.19, 60.13) |
| CIE-LCH | lch(89.58, 60.99, 99.62°) |
| OKLab | oklab(90.67% -0.0317 0.1396) |
| OKLCH | oklch(90.67% 0.143 102.8) |
| XYZ | xyz(66.9651, 75.4071, 24.6605) |
| Luminance | 0.7540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.16
Sandy Yellow
#FDEE73
ΔE00 2.20
Yellowish
#FAEE66
ΔE00 2.54
Sand Yellow
#FCE166
ΔE00 3.39
Yellow Tan
#FFE36E
ΔE00 3.74
Straw
#FCF679
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E46A #6A78F2
analogous
#F2A06A #F2E46A #BCF26A
triadic
#F2E46A #6AF2E4 #E46AF2
tetradic
#F2E46A #6AF2A0 #6A78F2 #F26ABC
square
#F2E46A #6AF2A0 #6A78F2 #F26ABC
split-complementary
#F2E46A #6ABCF2 #A06AF2
monochromatic
#CFBC12 #EDDA32 #F2E46A #F7EEA2 #FCF8DB
Accessibility & contrast
On white
1.31
#F2E46A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.08
#F2E46A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E46A
16.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E46A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E46A | 1.00 | 1.31 | 16.08 | 16.08 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DD5E
Deuteranopia (green-blind)
#FBE470
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f2e46a; /* rgb */ color: rgb(242, 228, 106); /* oklch */ color: oklch(90.7% 0.143 102.8);
Tailwind
colors: {
custom: {
50: '#f9ec98',
500: '#f2e46a',
950: '#000000',
},
}SCSS
$custom: #f2e46a; $custom-light: #f9ec98; $custom-dark: #000000;
JSON
{
"hex": "#f2e46a",
"rgb": {
"r": 242,
"g": 228,
"b": 106
},
"hsl": {
"h": 53.824,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.90669,
"c": 0.14318,
"h": 102.8
},
"luminance": 0.75405
}Semantic roles & 50–950 ramp
primary
#F2E46A
secondary
#3645CB
accent
#1CE005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F