#F2D55F#F2D55F
#F2D55F is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.140 H 95.5°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D55F |
|---|---|
| RGB | rgb(242, 213, 95) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 61%, 95%) |
| CMYK | cmyk(0%, 12%, 60.7%, 5.1%) |
| CIE-LAB | lab(85.65, -3.41, 60.59) |
| CIE-LCH | lch(85.65, 60.69, 93.22°) |
| OKLab | oklab(87.52% -0.0135 0.1393) |
| OKLCH | oklch(87.52% 0.14 95.5) |
| XYZ | xyz(62.4805, 67.2950, 20.5224) |
| Luminance | 0.6729 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.38
Maize
#F4D054
ΔE00 2.13
Light Gold
#FDDC5C
ΔE00 2.20
Pale Gold
#FDDE6C
ΔE00 2.27
Sand Yellow
#FCE166
ΔE00 2.73
Yellow Tan
#FFE36E
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D55F #5F7CF2
analogous
#F28B5F #F2D55F #C5F25F
triadic
#F2D55F #5FF2D5 #D55FF2
tetradic
#F2D55F #5FF28B #5F7CF2 #F25FC5
square
#F2D55F #5FF28B #5F7CF2 #F25FC5
split-complementary
#F2D55F #5FC5F2 #8B5FF2
monochromatic
#C6A210 #EDC626 #F2D55F #F7E498 #FBF3D0
Accessibility & contrast
On white
1.45
#F2D55F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.46
#F2D55F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D55F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D55F | 1.00 | 1.45 | 14.46 | 14.46 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2d55f; /* rgb */ color: rgb(242, 213, 95); /* oklch */ color: oklch(87.5% 0.140 95.5);
Tailwind
colors: {
custom: {
50: '#fae191',
500: '#f2d55f',
950: '#000000',
},
}SCSS
$custom: #f2d55f; $custom-light: #fae191; $custom-dark: #000000;
JSON
{
"hex": "#f2d55f",
"rgb": {
"r": 242,
"g": 213,
"b": 95
},
"hsl": {
"h": 48.163,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.8752,
"c": 0.13992,
"h": 95.5
},
"luminance": 0.67292
}Semantic roles & 50–950 ramp
primary
#F2D55F
secondary
#324EC4
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F