#F2D55E#F2D55E
#F2D55E is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.141 H 95.6°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D55E |
|---|---|
| RGB | rgb(242, 213, 94) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 61%, 95%) |
| CMYK | cmyk(0%, 12%, 61.2%, 5.1%) |
| CIE-LAB | lab(85.64, -3.47, 61.02) |
| CIE-LCH | lch(85.64, 61.12, 93.26°) |
| OKLab | oklab(87.51% -0.0138 0.1401) |
| OKLCH | oklch(87.51% 0.141 95.6) |
| XYZ | xyz(62.4353, 67.2769, 20.2846) |
| Luminance | 0.6727 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.42
Maize
#F4D054
ΔE00 2.11
Light Gold
#FDDC5C
ΔE00 2.16
Pale Gold
#FDDE6C
ΔE00 2.31
Sand Yellow
#FCE166
ΔE00 2.71
Yellow Tan
#FFE36E
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D55E #5E7BF2
analogous
#F28B5E #F2D55E #C5F25E
triadic
#F2D55E #5EF2D5 #D55EF2
tetradic
#F2D55E #5EF28B #5E7BF2 #F25EC5
square
#F2D55E #5EF28B #5E7BF2 #F25EC5
split-complementary
#F2D55E #5EC5F2 #8B5EF2
monochromatic
#C6A210 #EDC625 #F2D55E #F7E497 #FBF3CF
Accessibility & contrast
On white
1.45
#F2D55E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.45
#F2D55E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D55E
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D55E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D55E | 1.00 | 1.45 | 14.45 | 14.45 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D151
Deuteranopia (green-blind)
#F0DA64
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d55e; /* rgb */ color: rgb(242, 213, 94); /* oklch */ color: oklch(87.5% 0.141 95.6);
Tailwind
colors: {
custom: {
50: '#fae190',
500: '#f2d55e',
950: '#000000',
},
}SCSS
$custom: #f2d55e; $custom-light: #fae190; $custom-dark: #000000;
JSON
{
"hex": "#f2d55e",
"rgb": {
"r": 242,
"g": 213,
"b": 94
},
"hsl": {
"h": 48.243,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.8751,
"c": 0.14073,
"h": 95.6
},
"luminance": 0.67274
}Semantic roles & 50–950 ramp
primary
#F2D55E
secondary
#314EC3
accent
#2FE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F