#F2D965#F2D965
#F2D965 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.138 H 97.3°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D965 |
|---|---|
| RGB | rgb(242, 217, 101) |
| HSL | hsl(49, 84%, 67%) |
| HSV | hsv(49, 58%, 95%) |
| CMYK | cmyk(0%, 10.3%, 58.3%, 5.1%) |
| CIE-LAB | lab(86.72, -5.03, 59.13) |
| CIE-LCH | lch(86.72, 59.34, 94.86°) |
| OKLab | oklab(88.39% -0.0175 0.1369) |
| OKLCH | oklch(88.39% 0.138 97.3) |
| XYZ | xyz(63.7823, 69.4454, 22.3540) |
| Luminance | 0.6944 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.04
Pale Gold
#FDDE6C
ΔE00 2.14
Dull Yellow
#EEDC5B
ΔE00 2.43
Yellow Tan
#FFE36E
ΔE00 2.45
Light Mustard
#F7D560
ΔE00 2.49
Light Gold
#FDDC5C
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D965 #657EF2
analogous
#F29365 #F2D965 #C4F265
triadic
#F2D965 #65F2D9 #D965F2
tetradic
#F2D965 #65F293 #657EF2 #F265C4
square
#F2D965 #65F293 #657EF2 #F265C4
split-complementary
#F2D965 #65C4F2 #9365F2
monochromatic
#CBAA11 #EDCB2D #F2D965 #F7E79D #FCF5D6
Accessibility & contrast
On white
1.41
#F2D965 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.89
#F2D965 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D965
14.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D965 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D965 | 1.00 | 1.41 | 14.89 | 14.89 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD459
Deuteranopia (green-blind)
#F3DD6A
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f2d965; /* rgb */ color: rgb(242, 217, 101); /* oklch */ color: oklch(88.4% 0.138 97.3);
Tailwind
colors: {
custom: {
50: '#f9e495',
500: '#f2d965',
950: '#000000',
},
}SCSS
$custom: #f2d965; $custom-light: #f9e495; $custom-dark: #000000;
JSON
{
"hex": "#f2d965",
"rgb": {
"r": 242,
"g": 217,
"b": 101
},
"hsl": {
"h": 49.362,
"s": 84.431,
"l": 67.255
},
"oklch": {
"l": 0.88386,
"c": 0.13799,
"h": 97.3
},
"luminance": 0.69443
}Semantic roles & 50–950 ramp
primary
#F2D965
secondary
#334EC8
accent
#2CE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F