#F2D45F#F2D45F
#F2D45F is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.139 H 95.0°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D45F |
|---|---|
| RGB | rgb(242, 212, 95) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 61%, 95%) |
| CMYK | cmyk(0%, 12.4%, 60.7%, 5.1%) |
| CIE-LAB | lab(85.40, -2.90, 60.31) |
| CIE-LCH | lch(85.40, 60.38, 92.75°) |
| OKLab | oklab(87.32% -0.012 0.1387) |
| OKLCH | oklch(87.32% 0.139 95) |
| XYZ | xyz(62.2297, 66.7935, 20.4388) |
| Luminance | 0.6679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.14
Maize
#F4D054
ΔE00 1.85
Light Gold
#FDDC5C
ΔE00 2.32
Pale Gold
#FDDE6C
ΔE00 2.37
Sand Yellow
#FCE166
ΔE00 3.01
Yellow Tan
#FFE36E
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D45F #5F7DF2
analogous
#F28A5F #F2D45F #C6F25F
triadic
#F2D45F #5FF2D4 #D45FF2
tetradic
#F2D45F #5FF28A #5F7DF2 #F25FC6
square
#F2D45F #5FF28A #5F7DF2 #F25FC6
split-complementary
#F2D45F #5FC6F2 #8A5FF2
monochromatic
#C6A110 #EDC526 #F2D45F #F7E398 #FBF2D0
Accessibility & contrast
On white
1.46
#F2D45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.36
#F2D45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D45F
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D45F | 1.00 | 1.46 | 14.36 | 14.36 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#EFD964
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d45f; /* rgb */ color: rgb(242, 212, 95); /* oklch */ color: oklch(87.3% 0.139 95.0);
Tailwind
colors: {
custom: {
50: '#fae091',
500: '#f2d45f',
950: '#000000',
},
}SCSS
$custom: #f2d45f; $custom-light: #fae091; $custom-dark: #000000;
JSON
{
"hex": "#f2d45f",
"rgb": {
"r": 242,
"g": 212,
"b": 95
},
"hsl": {
"h": 47.755,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.8732,
"c": 0.13919,
"h": 95
},
"luminance": 0.6679
}Semantic roles & 50–950 ramp
primary
#F2D45F
secondary
#324FC4
accent
#31E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F