#F2F397#F2F397
#F2F397 is a very light, moderate yellow. Relative luminance 0.852; OKLCH L 94.3% C 0.114 H 108.9°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F397 |
|---|---|
| RGB | rgb(242, 243, 151) |
| HSL | hsl(61, 79%, 77%) |
| HSV | hsv(61, 38%, 95%) |
| CMYK | cmyk(0.4%, 0%, 37.9%, 4.7%) |
| CIE-LAB | lab(93.98, -13.53, 44.25) |
| CIE-LCH | lch(93.98, 46.27, 107.00°) |
| OKLab | oklab(94.33% -0.0371 0.108) |
| OKLCH | oklch(94.33% 0.114 108.9) |
| XYZ | xyz(74.2554, 85.2142, 41.8085) |
| Luminance | 0.8521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.59
Parchment
#FEFCAF
ΔE00 3.38
Dark Cream
#FFF39A
ΔE00 3.46
Light Khaki
#E6F2A2
ΔE00 3.71
Khaki (CSS)
#F0E68C
ΔE00 3.72
Manilla
#FFFA86
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F397 #9897F3
analogous
#F3C697 #F2F397 #C4F397
triadic
#F2F397 #97F2F3 #F397F2
tetradic
#F2F397 #97F3C6 #9897F3 #F397C4
square
#F2F397 #97F3C6 #9897F3 #F397C4
split-complementary
#F2F397 #97C4F3 #C697F3
monochromatic
#E4E629 #EBED60 #F2F397 #F9F9CE #FCFCE4
Accessibility & contrast
On white
1.16
#F2F397 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.04
#F2F397 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F397
18.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F397 | 1.00 | 1.16 | 18.04 | 18.04 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#FFEF9B
Tritanopia (blue-blind)
#FEE8DC
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f397; /* rgb */ color: rgb(242, 243, 151); /* oklch */ color: oklch(94.3% 0.114 108.9);
Tailwind
colors: {
custom: {
50: '#f7f7b7',
500: '#f2f397',
950: '#000000',
},
}SCSS
$custom: #f2f397; $custom-light: #f7f7b7; $custom-dark: #000000;
JSON
{
"hex": "#f2f397",
"rgb": {
"r": 242,
"g": 243,
"b": 151
},
"hsl": {
"h": 60.652,
"s": 79.31,
"l": 77.255
},
"oklch": {
"l": 0.94332,
"c": 0.11418,
"h": 108.9
},
"luminance": 0.85213
}Semantic roles & 50–950 ramp
primary
#F2F397
secondary
#5F5DD1
accent
#0ADC0C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581