#F5D761#F5D761
#F5D761 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.140 H 95.1°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D761 |
|---|---|
| RGB | rgb(245, 215, 97) |
| HSL | hsl(48, 88%, 67%) |
| HSV | hsv(48, 60%, 96%) |
| CMYK | cmyk(0%, 12.2%, 60.4%, 3.9%) |
| CIE-LAB | lab(86.44, -3.06, 60.66) |
| CIE-LCH | lch(86.44, 60.74, 92.89°) |
| OKLab | oklab(88.22% -0.0124 0.1396) |
| OKLCH | oklch(88.22% 0.14 95.1) |
| XYZ | xyz(64.1171, 68.8795, 21.2248) |
| Luminance | 0.6888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.15
Pale Gold
#FDDE6C
ΔE00 1.74
Light Gold
#FDDC5C
ΔE00 1.75
Maize
#F4D054
ΔE00 2.20
Sand Yellow
#FCE166
ΔE00 2.35
Yellow Tan
#FFE36E
ΔE00 2.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D761 #617FF5
analogous
#F58D61 #F5D761 #C9F561
triadic
#F5D761 #61F5D7 #D761F5
tetradic
#F5D761 #61F58D #617FF5 #F561C9
square
#F5D761 #61F58D #617FF5 #F561C9
split-complementary
#F5D761 #61C9F5 #8D61F5
monochromatic
#CFA70D #F1C827 #F5D761 #F9E69B #FCF4D4
Accessibility & contrast
On white
1.42
#F5D761 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.78
#F5D761 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D761
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D761 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D761 | 1.00 | 1.42 | 14.78 | 14.78 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD354
Deuteranopia (green-blind)
#F3DC66
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f5d761; /* rgb */ color: rgb(245, 215, 97); /* oklch */ color: oklch(88.2% 0.140 95.1);
Tailwind
colors: {
custom: {
50: '#fce392',
500: '#f5d761',
950: '#000000',
},
}SCSS
$custom: #f5d761; $custom-light: #fce392; $custom-dark: #000000;
JSON
{
"hex": "#f5d761",
"rgb": {
"r": 245,
"g": 215,
"b": 97
},
"hsl": {
"h": 47.838,
"s": 88.095,
"l": 67.059
},
"oklch": {
"l": 0.88215,
"c": 0.14016,
"h": 95.1
},
"luminance": 0.68876
}Semantic roles & 50–950 ramp
primary
#F5D761
secondary
#304FCA
accent
#2FE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F