#F2F36C#F2F36C
#F2F36C is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.8% C 0.156 H 109.5°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F36C |
|---|---|
| RGB | rgb(242, 243, 108) |
| HSL | hsl(60, 85%, 69%) |
| HSV | hsv(60, 56%, 95%) |
| CMYK | cmyk(0.4%, 0%, 55.6%, 4.7%) |
| CIE-LAB | lab(93.48, -17.41, 63.65) |
| CIE-LCH | lch(93.48, 65.99, 105.30°) |
| OKLab | oklab(93.78% -0.0521 0.1474) |
| OKLCH | oklch(93.78% 0.156 109.5) |
| XYZ | xyz(71.3772, 84.0630, 26.6503) |
| Luminance | 0.8406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.08
Butter Yellow
#FFFD74
ΔE00 2.27
Custard
#FFFD78
ΔE00 2.29
Light Yellow
#FFFE7A
ΔE00 2.41
Pastel Yellow
#FFFE71
ΔE00 2.43
Yellowish Tan
#FCFC81
ΔE00 2.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F36C #6D6CF3
analogous
#F3B16C #F2F36C #AFF36C
triadic
#F2F36C #6CF2F3 #F36CF2
tetradic
#F2F36C #6CF3B1 #6D6CF3 #F36CAF
square
#F2F36C #6CF3B1 #6D6CF3 #F36CAF
split-complementary
#F2F36C #6CAFF3 #B16CF3
monochromatic
#D2D311 #EDEE33 #F2F36C #F7F8A5 #FCFCDD
Accessibility & contrast
On white
1.18
#F2F36C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.81
#F2F36C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F36C
17.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F36C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F36C | 1.00 | 1.18 | 17.81 | 17.81 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA5E
Deuteranopia (green-blind)
#FFEE74
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2f36c; /* rgb */ color: rgb(242, 243, 108); /* oklch */ color: oklch(93.8% 0.156 109.5);
Tailwind
colors: {
custom: {
50: '#f9f69a',
500: '#f2f36c',
950: '#000000',
},
}SCSS
$custom: #f2f36c; $custom-light: #f9f69a; $custom-dark: #000000;
JSON
{
"hex": "#f2f36c",
"rgb": {
"r": 242,
"g": 243,
"b": 108
},
"hsl": {
"h": 60.444,
"s": 84.906,
"l": 68.824
},
"oklch": {
"l": 0.93775,
"c": 0.15631,
"h": 109.5
},
"luminance": 0.84061
}Semantic roles & 50–950 ramp
primary
#F2F36C
secondary
#3837CC
accent
#04E106
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F