#F2F596#F2F596
#F2F596 is a very light, moderate yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.118 H 110.0°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F596 |
|---|---|
| RGB | rgb(242, 245, 150) |
| HSL | hsl(62, 83%, 77%) |
| HSV | hsv(62, 39%, 96%) |
| CMYK | cmyk(1.2%, 0%, 38.8%, 3.9%) |
| CIE-LAB | lab(94.48, -14.62, 45.37) |
| CIE-LCH | lch(94.48, 47.67, 107.85°) |
| OKLab | oklab(94.73% -0.0402 0.1105) |
| OKLCH | oklch(94.73% 0.118 110) |
| XYZ | xyz(74.7763, 86.3854, 41.5832) |
| Luminance | 0.8638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 3.03
Parchment
#FEFCAF
ΔE00 3.65
Light Khaki
#E6F2A2
ΔE00 3.71
Manilla
#FFFA86
ΔE00 3.91
Dark Cream
#FFF39A
ΔE00 3.95
Yellowish Tan
#FCFC81
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F596 #9996F5
analogous
#F5C996 #F2F596 #C2F596
triadic
#F2F596 #96F2F5 #F596F2
tetradic
#F2F596 #96F5C9 #9996F5 #F596C2
square
#F2F596 #96F5C9 #9996F5 #F596C2
split-complementary
#F2F596 #96C2F5 #C996F5
monochromatic
#E4EA26 #EBF05E #F2F596 #F9FACE #FCFCE3
Accessibility & contrast
On white
1.15
#F2F596 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.28
#F2F596 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F596
18.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F596 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F596 | 1.00 | 1.15 | 18.28 | 18.28 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#FEEADE
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f596; /* rgb */ color: rgb(242, 245, 150); /* oklch */ color: oklch(94.7% 0.118 110.0);
Tailwind
colors: {
custom: {
50: '#f8f8b6',
500: '#f2f596',
950: '#000000',
},
}SCSS
$custom: #f2f596; $custom-light: #f8f8b6; $custom-dark: #000000;
JSON
{
"hex": "#f2f596",
"rgb": {
"r": 242,
"g": 245,
"b": 150
},
"hsl": {
"h": 61.895,
"s": 82.609,
"l": 77.451
},
"oklch": {
"l": 0.94727,
"c": 0.11762,
"h": 110
},
"luminance": 0.86384
}Semantic roles & 50–950 ramp
primary
#F2F596
secondary
#605CD3
accent
#06DF0D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581