#F5F286#F5F286
#F5F286 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.131 H 107.3°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F286 |
|---|---|
| RGB | rgb(245, 242, 134) |
| HSL | hsl(58, 85%, 74%) |
| HSV | hsv(58, 45%, 96%) |
| CMYK | cmyk(0%, 1.2%, 45.3%, 3.9%) |
| CIE-LAB | lab(93.73, -13.58, 52.18) |
| CIE-LCH | lch(93.73, 53.92, 104.59°) |
| OKLab | oklab(94.12% -0.0388 0.1248) |
| OKLCH | oklch(94.12% 0.131 107.3) |
| XYZ | xyz(73.7129, 84.6398, 35.0037) |
| Luminance | 0.8464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.03
Straw
#FCF679
ΔE00 2.48
Yellowish Tan
#FCFC81
ΔE00 2.65
Pale Yellow
#FFFF84
ΔE00 3.09
Butter
#FFFF81
ΔE00 3.29
Buff
#FEF69E
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F286 #8689F5
analogous
#F5BB86 #F5F286 #C1F586
triadic
#F5F286 #86F5F2 #F286F5
tetradic
#F5F286 #86F5BB #8689F5 #F586C1
square
#F5F286 #86F5BB #8689F5 #F586C1
split-complementary
#F5F286 #86C1F5 #BB86F5
monochromatic
#ECE615 #F0EC4D #F5F286 #FAF8BF #FDFCE3
Accessibility & contrast
On white
1.17
#F5F286 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.93
#F5F286 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F286
17.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F286 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F286 | 1.00 | 1.17 | 17.93 | 17.93 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FFEF8B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f5f286; /* rgb */ color: rgb(245, 242, 134); /* oklch */ color: oklch(94.1% 0.131 107.3);
Tailwind
colors: {
custom: {
50: '#faf6ab',
500: '#f5f286',
950: '#000000',
},
}SCSS
$custom: #f5f286; $custom-light: #faf6ab; $custom-dark: #000000;
JSON
{
"hex": "#f5f286",
"rgb": {
"r": 245,
"g": 242,
"b": 134
},
"hsl": {
"h": 58.378,
"s": 84.733,
"l": 74.314
},
"oklch": {
"l": 0.9412,
"c": 0.13068,
"h": 107.3
},
"luminance": 0.84638
}Semantic roles & 50–950 ramp
primary
#F5F286
secondary
#4E51D2
accent
#0AE104
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581