#F2F782#F2F782
#F2F782 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.141 H 111.0°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F782 |
|---|---|
| RGB | rgb(242, 247, 130) |
| HSL | hsl(63, 88%, 74%) |
| HSV | hsv(63, 47%, 97%) |
| CMYK | cmyk(2%, 0%, 47.4%, 3.1%) |
| CIE-LAB | lab(94.74, -17.55, 55.23) |
| CIE-LCH | lch(94.74, 57.95, 107.63°) |
| OKLab | oklab(94.86% -0.0503 0.1313) |
| OKLCH | oklch(94.86% 0.141 111) |
| XYZ | xyz(73.9094, 87.0119, 34.0163) |
| Luminance | 0.8701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.89
Pale Yellow
#FFFF84
ΔE00 2.30
Faded Yellow
#FEFF7F
ΔE00 2.43
Butter
#FFFF81
ΔE00 2.45
Manilla
#FFFA86
ΔE00 2.57
Banana (survey)
#FFFF7E
ΔE00 2.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F782 #8782F7
analogous
#F7C282 #F2F782 #B8F782
triadic
#F2F782 #82F2F7 #F782F2
tetradic
#F2F782 #82F7C2 #8782F7 #F782B8
square
#F2F782 #82F7C2 #8782F7 #F782B8
split-complementary
#F2F782 #82B8F7 #C282F7
monochromatic
#E6EF0F #ECF348 #F2F782 #F8FBBC #FCFDE2
Accessibility & contrast
On white
1.14
#F2F782 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.40
#F2F782 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F782
18.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F782 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F782 | 1.00 | 1.14 | 18.40 | 18.40 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE78
Deuteranopia (green-blind)
#FFF288
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f782; /* rgb */ color: rgb(242, 247, 130); /* oklch */ color: oklch(94.9% 0.141 111.0);
Tailwind
colors: {
custom: {
50: '#f8f9a9',
500: '#f2f782',
950: '#000000',
},
}SCSS
$custom: #f2f782; $custom-light: #f8f9a9; $custom-dark: #000000;
JSON
{
"hex": "#f2f782",
"rgb": {
"r": 242,
"g": 247,
"b": 130
},
"hsl": {
"h": 62.564,
"s": 87.97,
"l": 73.922
},
"oklch": {
"l": 0.94857,
"c": 0.14057,
"h": 111
},
"luminance": 0.8701
}Semantic roles & 50–950 ramp
primary
#F2F782
secondary
#4F49D4
accent
#01E50B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581