#F2F080#F2F080
#F2F080 is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.135 H 107.8°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F080 |
|---|---|
| RGB | rgb(242, 240, 128) |
| HSL | hsl(59, 81%, 73%) |
| HSV | hsv(59, 47%, 95%) |
| CMYK | cmyk(0%, 0.8%, 47.1%, 5.1%) |
| CIE-LAB | lab(92.91, -14.32, 53.95) |
| CIE-LCH | lch(92.91, 55.82, 104.87°) |
| OKLab | oklab(93.39% -0.0413 0.1283) |
| OKLCH | oklch(93.39% 0.135 107.8) |
| XYZ | xyz(71.6759, 82.7577, 32.6160) |
| Luminance | 0.8276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.34
Straw
#FCF679
ΔE00 2.36
Yellowish Tan
#FCFC81
ΔE00 2.68
Pale Yellow
#FFFF84
ΔE00 3.22
Butter
#FFFF81
ΔE00 3.35
Faded Yellow
#FEFF7F
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F080 #8082F2
analogous
#F2B780 #F2F080 #BBF280
triadic
#F2F080 #80F2F0 #F080F2
tetradic
#F2F080 #80F2B7 #8082F2 #F280BB
square
#F2F080 #80F2B7 #8082F2 #F280BB
split-complementary
#F2F080 #80BBF2 #B780F2
monochromatic
#E1DD17 #ECE948 #F2F080 #F8F7B8 #FCFCE3
Accessibility & contrast
On white
1.20
#F2F080 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.55
#F2F080 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F080
17.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F080 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F080 | 1.00 | 1.20 | 17.55 | 17.55 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE876
Deuteranopia (green-blind)
#FFED85
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f080; /* rgb */ color: rgb(242, 240, 128); /* oklch */ color: oklch(93.4% 0.135 107.8);
Tailwind
colors: {
custom: {
50: '#f8f4a7',
500: '#f2f080',
950: '#000000',
},
}SCSS
$custom: #f2f080; $custom-light: #f8f4a7; $custom-dark: #000000;
JSON
{
"hex": "#f2f080",
"rgb": {
"r": 242,
"g": 240,
"b": 128
},
"hsl": {
"h": 58.947,
"s": 81.429,
"l": 72.549
},
"oklch": {
"l": 0.93388,
"c": 0.13478,
"h": 107.8
},
"luminance": 0.82756
}Semantic roles & 50–950 ramp
primary
#F2F080
secondary
#494BCD
accent
#0BDE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580