#F4F262#F4F262
#F4F262 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.163 H 108.4°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F4F262 |
|---|---|
| RGB | rgb(244, 242, 98) |
| HSL | hsl(59, 87%, 67%) |
| HSV | hsv(59, 60%, 96%) |
| CMYK | cmyk(0%, 0.8%, 59.8%, 4.3%) |
| CIE-LAB | lab(93.29, -16.82, 67.71) |
| CIE-LCH | lch(93.29, 69.77, 103.95°) |
| OKLab | oklab(93.63% -0.0515 0.1548) |
| OKLCH | oklch(93.63% 0.163 108.4) |
| XYZ | xyz(71.2672, 83.6212, 23.9393) |
| Luminance | 0.8362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.42
Butter Yellow
#FFFD74
ΔE00 2.44
Yellowish
#FAEE66
ΔE00 2.44
Pastel Yellow
#FFFE71
ΔE00 2.49
Custard
#FFFD78
ΔE00 2.64
Canary
#FDFF63
ΔE00 2.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4F262 #6264F4
analogous
#F4A962 #F4F262 #ADF462
triadic
#F4F262 #62F4F2 #F262F4
tetradic
#F4F262 #62F4A9 #6264F4 #F462AD
square
#F4F262 #62F4A9 #6264F4 #F462AD
split-complementary
#F4F262 #62ADF4 #A962F4
monochromatic
#CDCB0E #F0ED29 #F4F262 #F8F79B #FCFBD4
Accessibility & contrast
On white
1.18
#F4F262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.72
#F4F262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4F262
17.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4F262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4F262 | 1.00 | 1.18 | 17.72 | 17.72 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFEE6B
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f4f262; /* rgb */ color: rgb(244, 242, 98); /* oklch */ color: oklch(93.6% 0.163 108.4);
Tailwind
colors: {
custom: {
50: '#fbf694',
500: '#f4f262',
950: '#000000',
},
}SCSS
$custom: #f4f262; $custom-light: #fbf694; $custom-dark: #000000;
JSON
{
"hex": "#f4f262",
"rgb": {
"r": 244,
"g": 242,
"b": 98
},
"hsl": {
"h": 59.178,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.93631,
"c": 0.16311,
"h": 108.4
},
"luminance": 0.83619
}Semantic roles & 50–950 ramp
primary
#F4F262
secondary
#3133C9
accent
#05E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F