#F2D368#F2D368
#F2D368 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.2% C 0.131 H 93.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D368 |
|---|---|
| RGB | rgb(242, 211, 104) |
| HSL | hsl(47, 84%, 68%) |
| HSV | hsv(47, 57%, 95%) |
| CMYK | cmyk(0%, 12.8%, 57%, 5.1%) |
| CIE-LAB | lab(85.23, -1.76, 56.06) |
| CIE-LCH | lch(85.23, 56.09, 91.80°) |
| OKLab | oklab(87.22% -0.0077 0.1306) |
| OKLCH | oklch(87.22% 0.131 93.4) |
| XYZ | xyz(62.4135, 66.4683, 22.6361) |
| Luminance | 0.6646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.47
Maize
#F4D054
ΔE00 2.35
Pale Gold
#FDDE6C
ΔE00 2.60
Wheat (survey)
#FBDD7E
ΔE00 2.90
Sandy
#F1DA7A
ΔE00 2.90
Light Gold
#FDDC5C
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D368 #6887F2
analogous
#F28E68 #F2D368 #CCF268
triadic
#F2D368 #68F2D3 #D368F2
tetradic
#F2D368 #68F28E #6887F2 #F268CC
square
#F2D368 #68F28E #6887F2 #F268CC
split-complementary
#F2D368 #68CCF2 #8E68F2
monochromatic
#CEA412 #EDC330 #F2D368 #F7E3A0 #FCF4D9
Accessibility & contrast
On white
1.47
#F2D368 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.29
#F2D368 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D368
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D368 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D368 | 1.00 | 1.47 | 14.29 | 14.29 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D05E
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d368; /* rgb */ color: rgb(242, 211, 104); /* oklch */ color: oklch(87.2% 0.131 93.4);
Tailwind
colors: {
custom: {
50: '#f9e096',
500: '#f2d368',
950: '#000000',
},
}SCSS
$custom: #f2d368; $custom-light: #f9e096; $custom-dark: #000000;
JSON
{
"hex": "#f2d368",
"rgb": {
"r": 242,
"g": 211,
"b": 104
},
"hsl": {
"h": 46.522,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.87218,
"c": 0.13087,
"h": 93.4
},
"luminance": 0.66465
}Semantic roles & 50–950 ramp
primary
#F2D368
secondary
#3456CA
accent
#36E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F