#F2F97D#F2F97D
#F2F97D is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.148 H 111.8°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F97D |
|---|---|
| RGB | rgb(242, 249, 125) |
| HSL | hsl(63, 91%, 73%) |
| HSV | hsv(63, 50%, 98%) |
| CMYK | cmyk(2.8%, 0%, 49.8%, 2.4%) |
| CIE-LAB | lab(95.21, -18.96, 58.08) |
| CIE-LCH | lch(95.21, 61.10, 108.08°) |
| OKLab | oklab(95.21% -0.0548 0.1371) |
| OKLCH | oklch(95.21% 0.148 111.8) |
| XYZ | xyz(74.1968, 88.1107, 32.4966) |
| Luminance | 0.8811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.82
Faded Yellow
#FEFF7F
ΔE00 2.08
Pale Yellow
#FFFF84
ΔE00 2.17
Butter
#FFFF81
ΔE00 2.21
Banana (survey)
#FFFF7E
ΔE00 2.31
Light Yellow
#FFFE7A
ΔE00 2.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F97D #847DF9
analogous
#F9C27D #F2F97D #B4F97D
triadic
#F2F97D #7DF2F9 #F97DF2
tetradic
#F2F97D #7DF9C2 #847DF9 #F97DB4
square
#F2F97D #7DF9C2 #847DF9 #F97DB4
split-complementary
#F2F97D #7DB4F9 #C27DF9
monochromatic
#E4F00B #ECF642 #F2F97D #F8FCB7 #FCFEE2
Accessibility & contrast
On white
1.13
#F2F97D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.62
#F2F97D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F97D
18.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F97D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F97D | 1.00 | 1.13 | 18.62 | 18.62 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f97d; /* rgb */ color: rgb(242, 249, 125); /* oklch */ color: oklch(95.2% 0.148 111.8);
Tailwind
colors: {
custom: {
50: '#f8fba5',
500: '#f2f97d',
950: '#000000',
},
}SCSS
$custom: #f2f97d; $custom-light: #f8fba5; $custom-dark: #000000;
JSON
{
"hex": "#f2f97d",
"rgb": {
"r": 242,
"g": 249,
"b": 125
},
"hsl": {
"h": 63.387,
"s": 91.176,
"l": 73.333
},
"oklch": {
"l": 0.9521,
"c": 0.14762,
"h": 111.8
},
"luminance": 0.88109
}Semantic roles & 50–950 ramp
primary
#F2F97D
secondary
#4D44D6
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580