#F2F55E#F2F55E
#F2F55E is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.1% C 0.170 H 110.3°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F55E |
|---|---|
| RGB | rgb(242, 245, 94) |
| HSL | hsl(61, 88%, 66%) |
| HSV | hsv(61, 62%, 96%) |
| CMYK | cmyk(1.2%, 0%, 61.6%, 3.9%) |
| CIE-LAB | lab(93.88, -19.32, 69.93) |
| CIE-LCH | lch(93.88, 72.55, 105.45°) |
| OKLab | oklab(94.06% -0.0589 0.159) |
| OKLCH | oklch(94.06% 0.17 110.3) |
| XYZ | xyz(71.2929, 84.9920, 23.2371) |
| Luminance | 0.8499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.12
Pastel Yellow
#FFFE71
ΔE00 2.38
Off Yellow
#F1F33F
ΔE00 2.46
Butter Yellow
#FFFD74
ΔE00 2.52
Custard
#FFFD78
ΔE00 2.78
Lemon (survey)
#FDFF52
ΔE00 2.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F55E #615EF5
analogous
#F5AD5E #F2F55E #A7F55E
triadic
#F2F55E #5EF2F5 #F55EF2
tetradic
#F2F55E #5EF5AD #615EF5 #F55EA7
square
#F2F55E #5EF5AD #615EF5 #F55EA7
split-complementary
#F2F55E #5EA7F5 #AD5EF5
monochromatic
#C8CC0D #EDF124 #F2F55E #F7F998 #FBFCD1
Accessibility & contrast
On white
1.17
#F2F55E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.00
#F2F55E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F55E
18.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F55E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F55E | 1.00 | 1.17 | 18.00 | 18.00 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB4B
Deuteranopia (green-blind)
#FFF068
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f55e; /* rgb */ color: rgb(242, 245, 94); /* oklch */ color: oklch(94.1% 0.170 110.3);
Tailwind
colors: {
custom: {
50: '#f9f892',
500: '#f2f55e',
950: '#000000',
},
}SCSS
$custom: #f2f55e; $custom-light: #f9f892; $custom-dark: #000000;
JSON
{
"hex": "#f2f55e",
"rgb": {
"r": 242,
"g": 245,
"b": 94
},
"hsl": {
"h": 61.192,
"s": 88.304,
"l": 66.471
},
"oklch": {
"l": 0.94057,
"c": 0.16952,
"h": 110.3
},
"luminance": 0.8499
}Semantic roles & 50–950 ramp
primary
#F2F55E
secondary
#322FC8
accent
#01E505
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F