#F2F27E#F2F27E
#F2F27E is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.8% C 0.139 H 108.8°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F27E |
|---|---|
| RGB | rgb(242, 242, 126) |
| HSL | hsl(60, 82%, 72%) |
| HSV | hsv(60, 48%, 95%) |
| CMYK | cmyk(0%, 0%, 47.9%, 5.1%) |
| CIE-LAB | lab(93.40, -15.48, 55.48) |
| CIE-LCH | lch(93.40, 57.60, 105.59°) |
| OKLab | oklab(93.77% -0.0448 0.1315) |
| OKLCH | oklch(93.77% 0.139 108.8) |
| XYZ | xyz(72.1376, 83.8896, 32.1269) |
| Luminance | 0.8389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.17
Yellowish Tan
#FCFC81
ΔE00 2.17
Manilla
#FFFA86
ΔE00 2.20
Pale Yellow
#FFFF84
ΔE00 2.74
Butter
#FFFF81
ΔE00 2.84
Faded Yellow
#FEFF7F
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F27E #7E7EF2
analogous
#F2B87E #F2F27E #B8F27E
triadic
#F2F27E #7EF2F2 #F27EF2
tetradic
#F2F27E #7EF2B8 #7E7EF2 #F27EB8
square
#F2F27E #7EF2B8 #7E7EF2 #F27EB8
split-complementary
#F2F27E #7EB8F2 #B87EF2
monochromatic
#DFDF16 #ECEC46 #F2F27E #F8F8B6 #FCFCE3
Accessibility & contrast
On white
1.18
#F2F27E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.78
#F2F27E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F27E
17.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F27E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F27E | 1.00 | 1.18 | 17.78 | 17.78 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA74
Deuteranopia (green-blind)
#FFEE84
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2f27e; /* rgb */ color: rgb(242, 242, 126); /* oklch */ color: oklch(93.8% 0.139 108.8);
Tailwind
colors: {
custom: {
50: '#f8f6a6',
500: '#f2f27e',
950: '#000000',
},
}SCSS
$custom: #f2f27e; $custom-light: #f8f6a6; $custom-dark: #000000;
JSON
{
"hex": "#f2f27e",
"rgb": {
"r": 242,
"g": 242,
"b": 126
},
"hsl": {
"h": 60,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.93774,
"c": 0.1389,
"h": 108.8
},
"luminance": 0.83888
}Semantic roles & 50–950 ramp
primary
#F2F27E
secondary
#4747CD
accent
#07DE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580