#F5F261#F5F261
#F5F261 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.7% C 0.164 H 108.1°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F261 |
|---|---|
| RGB | rgb(245, 242, 97) |
| HSL | hsl(59, 88%, 67%) |
| HSV | hsv(59, 60%, 96%) |
| CMYK | cmyk(0%, 1.2%, 60.4%, 3.9%) |
| CIE-LAB | lab(93.36, -16.48, 68.22) |
| CIE-LCH | lch(93.36, 70.18, 103.58°) |
| OKLab | oklab(93.7% -0.0508 0.1557) |
| OKLCH | oklch(93.7% 0.164 108.1) |
| XYZ | xyz(71.5683, 83.7819, 23.7085) |
| Luminance | 0.8378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 2.26
Straw
#FCF679
ΔE00 2.44
Butter Yellow
#FFFD74
ΔE00 2.47
Pastel Yellow
#FFFE71
ΔE00 2.52
Custard
#FFFD78
ΔE00 2.69
Canary
#FDFF63
ΔE00 2.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F261 #6164F5
analogous
#F5A861 #F5F261 #AEF561
triadic
#F5F261 #61F5F2 #F261F5
tetradic
#F5F261 #61F5A8 #6164F5 #F561AE
square
#F5F261 #61F5A8 #6164F5 #F561AE
split-complementary
#F5F261 #61AEF5 #A861F5
monochromatic
#CFCB0D #F1ED27 #F5F261 #F9F79B #FCFBD4
Accessibility & contrast
On white
1.18
#F5F261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.76
#F5F261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F261
17.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F261 | 1.00 | 1.18 | 17.76 | 17.76 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE950
Deuteranopia (green-blind)
#FFEE6A
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f5f261; /* rgb */ color: rgb(245, 242, 97); /* oklch */ color: oklch(93.7% 0.164 108.1);
Tailwind
colors: {
custom: {
50: '#fcf694',
500: '#f5f261',
950: '#000000',
},
}SCSS
$custom: #f5f261; $custom-light: #fcf694; $custom-dark: #000000;
JSON
{
"hex": "#f5f261",
"rgb": {
"r": 245,
"g": 242,
"b": 97
},
"hsl": {
"h": 58.784,
"s": 88.095,
"l": 67.059
},
"oklch": {
"l": 0.93703,
"c": 0.16374,
"h": 108.1
},
"luminance": 0.8378
}Semantic roles & 50–950 ramp
primary
#F5F261
secondary
#3033CA
accent
#05E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F