#F6F172#F6F172
#F6F172 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.8% C 0.149 H 106.9°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F6F172 |
|---|---|
| RGB | rgb(246, 241, 114) |
| HSL | hsl(58, 88%, 71%) |
| HSV | hsv(58, 54%, 96%) |
| CMYK | cmyk(0%, 2%, 53.7%, 3.5%) |
| CIE-LAB | lab(93.33, -14.40, 60.93) |
| CIE-LCH | lch(93.33, 62.61, 103.30°) |
| OKLab | oklab(93.75% -0.0431 0.1421) |
| OKLCH | oklch(93.75% 0.149 106.9) |
| XYZ | xyz(72.5006, 83.7204, 28.2569) |
| Luminance | 0.8372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.14
Yellowish
#FAEE66
ΔE00 2.13
Manilla
#FFFA86
ΔE00 2.40
Custard
#FFFD78
ΔE00 2.49
Sandy Yellow
#FDEE73
ΔE00 2.49
Yellowish Tan
#FCFC81
ΔE00 2.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F6F172 #7277F6
analogous
#F6AF72 #F6F172 #B9F672
triadic
#F6F172 #72F6F1 #F172F6
tetradic
#F6F172 #72F6AF #7277F6 #F672B9
square
#F6F172 #72F6AF #7277F6 #F672B9
split-complementary
#F6F172 #72B9F6 #AF72F6
monochromatic
#DFD70E #F2EB38 #F6F172 #FAF7AC #FDFCE2
Accessibility & contrast
On white
1.18
#F6F172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.74
#F6F172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F6F172
17.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F6F172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F6F172 | 1.00 | 1.18 | 17.74 | 17.74 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f6f172; /* rgb */ color: rgb(246, 241, 114); /* oklch */ color: oklch(93.8% 0.149 106.9);
Tailwind
colors: {
custom: {
50: '#fcf59e',
500: '#f6f172',
950: '#000000',
},
}SCSS
$custom: #f6f172; $custom-light: #fcf59e; $custom-dark: #000000;
JSON
{
"hex": "#f6f172",
"rgb": {
"r": 246,
"g": 241,
"b": 114
},
"hsl": {
"h": 57.727,
"s": 88,
"l": 70.588
},
"oklch": {
"l": 0.9375,
"c": 0.14853,
"h": 106.9
},
"luminance": 0.83718
}Semantic roles & 50–950 ramp
primary
#F6F172
secondary
#3C41D1
accent
#0AE501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580