#F2D15B#F2D15B
#F2D15B is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.140 H 93.6°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D15B |
|---|---|
| RGB | rgb(242, 209, 91) |
| HSL | hsl(47, 85%, 65%) |
| HSV | hsv(47, 62%, 95%) |
| CMYK | cmyk(0%, 13.6%, 62.4%, 5.1%) |
| CIE-LAB | lab(84.61, -1.63, 61.19) |
| CIE-LCH | lch(84.61, 61.21, 91.52°) |
| OKLab | oklab(86.68% -0.0088 0.14) |
| OKLCH | oklch(86.68% 0.14 93.6) |
| XYZ | xyz(61.3096, 65.2367, 19.2581) |
| Luminance | 0.6523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.98
Light Mustard
#F7D560
ΔE00 1.02
Light Gold
#FDDC5C
ΔE00 2.71
Pale Gold
#FDDE6C
ΔE00 2.99
Sand Yellow
#FCE166
ΔE00 3.83
Yellow Tan
#FFE36E
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D15B #5B7CF2
analogous
#F2855B #F2D15B #C8F25B
triadic
#F2D15B #5BF2D1 #D15BF2
tetradic
#F2D15B #5BF285 #5B7CF2 #F25BC8
square
#F2D15B #5BF285 #5B7CF2 #F25BC8
split-complementary
#F2D15B #5BC8F2 #855BF2
monochromatic
#C39C0F #EEC122 #F2D15B #F6E194 #FBF1CC
Accessibility & contrast
On white
1.50
#F2D15B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.05
#F2D15B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D15B
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D15B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D15B | 1.00 | 1.50 | 14.05 | 14.05 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CD4E
Deuteranopia (green-blind)
#EED760
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d15b; /* rgb */ color: rgb(242, 209, 91); /* oklch */ color: oklch(86.7% 0.140 93.6);
Tailwind
colors: {
custom: {
50: '#fade8e',
500: '#f2d15b',
950: '#000000',
},
}SCSS
$custom: #f2d15b; $custom-light: #fade8e; $custom-dark: #000000;
JSON
{
"hex": "#f2d15b",
"rgb": {
"r": 242,
"g": 209,
"b": 91
},
"hsl": {
"h": 46.887,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.86681,
"c": 0.14029,
"h": 93.6
},
"luminance": 0.65234
}Semantic roles & 50–950 ramp
primary
#F2D15B
secondary
#3150C1
accent
#34E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F