#F2D759#F2D759
#F2D759 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.146 H 97.2°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D759 |
|---|---|
| RGB | rgb(242, 215, 89) |
| HSL | hsl(49, 85%, 65%) |
| HSV | hsv(49, 63%, 95%) |
| CMYK | cmyk(0%, 11.2%, 63.2%, 5.1%) |
| CIE-LAB | lab(86.11, -4.80, 63.68) |
| CIE-LCH | lch(86.11, 63.86, 94.31°) |
| OKLab | oklab(87.86% -0.0182 0.145) |
| OKLCH | oklch(87.86% 0.146 97.2) |
| XYZ | xyz(62.7243, 68.2024, 19.3097) |
| Luminance | 0.6820 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 2.05
Light Mustard
#F7D560
ΔE00 2.26
Sand Yellow
#FCE166
ΔE00 2.29
Dull Yellow
#EEDC5B
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 2.59
Maize
#F4D054
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D759 #5974F2
analogous
#F28B59 #F2D759 #C0F259
triadic
#F2D759 #59F2D7 #D759F2
tetradic
#F2D759 #59F28B #5974F2 #F259C0
square
#F2D759 #59F28B #5974F2 #F259C0
split-complementary
#F2D759 #59C0F2 #8B59F2
monochromatic
#C1A20F #EEC920 #F2D759 #F6E592 #FBF2CB
Accessibility & contrast
On white
1.43
#F2D759 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.64
#F2D759 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D759
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D759 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D759 | 1.00 | 1.43 | 14.64 | 14.64 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD24A
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d759; /* rgb */ color: rgb(242, 215, 89); /* oklch */ color: oklch(87.9% 0.146 97.2);
Tailwind
colors: {
custom: {
50: '#fae38d',
500: '#f2d759',
950: '#000000',
},
}SCSS
$custom: #f2d759; $custom-light: #fae38d; $custom-dark: #000000;
JSON
{
"hex": "#f2d759",
"rgb": {
"r": 242,
"g": 215,
"b": 89
},
"hsl": {
"h": 49.412,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.87863,
"c": 0.14615,
"h": 97.2
},
"luminance": 0.68199
}Semantic roles & 50–950 ramp
primary
#F2D759
secondary
#3049BF
accent
#2BE204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F