#F2DF67#F2DF67
#F2DF67 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.141 H 100.4°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF67 |
|---|---|
| RGB | rgb(242, 223, 103) |
| HSL | hsl(52, 84%, 68%) |
| HSV | hsv(52, 57%, 95%) |
| CMYK | cmyk(0%, 7.9%, 57.4%, 5.1%) |
| CIE-LAB | lab(88.27, -7.91, 59.98) |
| CIE-LCH | lch(88.27, 60.50, 97.51°) |
| OKLab | oklab(89.62% -0.0255 0.139) |
| OKLCH | oklch(89.62% 0.141 100.4) |
| XYZ | xyz(65.4562, 72.6345, 23.4013) |
| Luminance | 0.7263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.31
Sand Yellow
#FCE166
ΔE00 2.22
Yellow Tan
#FFE36E
ΔE00 2.71
Sandy Yellow
#FDEE73
ΔE00 3.28
Pale Gold
#FDDE6C
ΔE00 3.34
Sandy
#F1DA7A
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF67 #677AF2
analogous
#F29A67 #F2DF67 #BFF267
triadic
#F2DF67 #67F2DF #DF67F2
tetradic
#F2DF67 #67F29A #677AF2 #F267BF
square
#F2DF67 #67F29A #677AF2 #F267BF
split-complementary
#F2DF67 #67BFF2 #9A67F2
monochromatic
#CDB312 #EDD32F #F2DF67 #F7EB9F #FCF7D8
Accessibility & contrast
On white
1.35
#F2DF67 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.53
#F2DF67 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF67
15.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF67 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF67 | 1.00 | 1.35 | 15.53 | 15.53 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D95B
Deuteranopia (green-blind)
#F7E16D
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2df67; /* rgb */ color: rgb(242, 223, 103); /* oklch */ color: oklch(89.6% 0.141 100.4);
Tailwind
colors: {
custom: {
50: '#f9e896',
500: '#f2df67',
950: '#000000',
},
}SCSS
$custom: #f2df67; $custom-light: #f9e896; $custom-dark: #000000;
JSON
{
"hex": "#f2df67",
"rgb": {
"r": 242,
"g": 223,
"b": 103
},
"hsl": {
"h": 51.799,
"s": 84.242,
"l": 67.647
},
"oklch": {
"l": 0.8962,
"c": 0.14127,
"h": 100.4
},
"luminance": 0.72632
}Semantic roles & 50–950 ramp
primary
#F2DF67
secondary
#3448C9
accent
#23E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F