#F2D25F#F2D25F
#F2D25F is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.9% C 0.138 H 93.8°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D25F |
|---|---|
| RGB | rgb(242, 210, 95) |
| HSL | hsl(47, 85%, 66%) |
| HSV | hsv(47, 61%, 95%) |
| CMYK | cmyk(0%, 13.2%, 60.7%, 5.1%) |
| CIE-LAB | lab(84.89, -1.88, 59.75) |
| CIE-LCH | lch(84.89, 59.78, 91.80°) |
| OKLab | oklab(86.92% -0.0091 0.1375) |
| OKLCH | oklch(86.92% 0.138 93.8) |
| XYZ | xyz(61.7329, 65.7998, 20.2732) |
| Luminance | 0.6580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.93
Maize
#F4D054
ΔE00 1.42
Light Gold
#FDDC5C
ΔE00 2.68
Pale Gold
#FDDE6C
ΔE00 2.71
Sand Yellow
#FCE166
ΔE00 3.62
Sandy
#F1DA7A
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D25F #5F7FF2
analogous
#F2885F #F2D25F #C8F25F
triadic
#F2D25F #5FF2D2 #D25FF2
tetradic
#F2D25F #5FF288 #5F7FF2 #F25FC8
square
#F2D25F #5FF288 #5F7FF2 #F25FC8
split-complementary
#F2D25F #5FC8F2 #885FF2
monochromatic
#C69F10 #EDC226 #F2D25F #F7E298 #FBF2D0
Accessibility & contrast
On white
1.48
#F2D25F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.16
#F2D25F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D25F
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D25F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D25F | 1.00 | 1.48 | 14.16 | 14.16 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE53
Deuteranopia (green-blind)
#EED864
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f2d25f; /* rgb */ color: rgb(242, 210, 95); /* oklch */ color: oklch(86.9% 0.138 93.8);
Tailwind
colors: {
custom: {
50: '#fadf90',
500: '#f2d25f',
950: '#000000',
},
}SCSS
$custom: #f2d25f; $custom-light: #fadf90; $custom-dark: #000000;
JSON
{
"hex": "#f2d25f",
"rgb": {
"r": 242,
"g": 210,
"b": 95
},
"hsl": {
"h": 46.939,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.86921,
"c": 0.13777,
"h": 93.8
},
"luminance": 0.65797
}Semantic roles & 50–950 ramp
primary
#F2D25F
secondary
#3251C4
accent
#34E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F