#F2D45C#F2D45C
#F2D45C is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.142 H 95.2°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D45C |
|---|---|
| RGB | rgb(242, 212, 92) |
| HSL | hsl(48, 85%, 65%) |
| HSV | hsv(48, 62%, 95%) |
| CMYK | cmyk(0%, 12.4%, 62%, 5.1%) |
| CIE-LAB | lab(85.37, -3.09, 61.60) |
| CIE-LCH | lch(85.37, 61.67, 92.88°) |
| OKLab | oklab(87.29% -0.0129 0.141) |
| OKLCH | oklch(87.29% 0.142 95.2) |
| XYZ | xyz(62.0960, 66.7400, 19.7345) |
| Luminance | 0.6674 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.25
Maize
#F4D054
ΔE00 1.77
Light Gold
#FDDC5C
ΔE00 2.18
Pale Gold
#FDDE6C
ΔE00 2.48
Sand Yellow
#FCE166
ΔE00 2.95
Yellow Tan
#FFE36E
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D45C #5C7AF2
analogous
#F2895C #F2D45C #C5F25C
triadic
#F2D45C #5CF2D4 #D45CF2
tetradic
#F2D45C #5CF289 #5C7AF2 #F25CC5
square
#F2D45C #5CF289 #5C7AF2 #F25CC5
split-complementary
#F2D45C #5CC5F2 #895CF2
monochromatic
#C4A010 #EDC523 #F2D45C #F7E395 #FBF2CD
Accessibility & contrast
On white
1.46
#F2D45C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.35
#F2D45C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D45C
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D45C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D45C | 1.00 | 1.46 | 14.35 | 14.35 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D04F
Deuteranopia (green-blind)
#F0D962
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d45c; /* rgb */ color: rgb(242, 212, 92); /* oklch */ color: oklch(87.3% 0.142 95.2);
Tailwind
colors: {
custom: {
50: '#fae08f',
500: '#f2d45c',
950: '#000000',
},
}SCSS
$custom: #f2d45c; $custom-light: #fae08f; $custom-dark: #000000;
JSON
{
"hex": "#f2d45c",
"rgb": {
"r": 242,
"g": 212,
"b": 92
},
"hsl": {
"h": 48,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.8729,
"c": 0.1416,
"h": 95.2
},
"luminance": 0.66737
}Semantic roles & 50–950 ramp
primary
#F2D45C
secondary
#314EC1
accent
#30E204
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F