#F2F795#F2F795
#F2F795 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.1% C 0.121 H 111.0°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F795 |
|---|---|
| RGB | rgb(242, 247, 149) |
| HSL | hsl(63, 86%, 78%) |
| HSV | hsv(63, 40%, 97%) |
| CMYK | cmyk(2%, 0%, 39.7%, 3.1%) |
| CIE-LAB | lab(94.98, -15.70, 46.49) |
| CIE-LCH | lch(94.98, 49.07, 108.66°) |
| OKLab | oklab(95.12% -0.0434 0.113) |
| OKLCH | oklch(95.12% 0.121 111) |
| XYZ | xyz(75.3044, 87.5700, 41.3637) |
| Luminance | 0.8757 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 3.54
Manilla
#FFFA86
ΔE00 3.83
Light Khaki
#E6F2A2
ΔE00 3.83
Yellowish Tan
#FCFC81
ΔE00 3.90
Parchment
#FEFCAF
ΔE00 4.01
Pale Yellow
#FFFF84
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F795 #9A95F7
analogous
#F7CB95 #F2F795 #C1F795
triadic
#F2F795 #95F2F7 #F795F2
tetradic
#F2F795 #95F7CB #9A95F7 #F795C1
square
#F2F795 #95F7CB #9A95F7 #F795C1
split-complementary
#F2F795 #95C1F7 #CB95F7
monochromatic
#E4EE23 #EBF35C #F2F795 #F9FBCE #FCFDE3
Accessibility & contrast
On white
1.13
#F2F795 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.51
#F2F795 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F795
18.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F795 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F795 | 1.00 | 1.13 | 18.51 | 18.51 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF8D
Deuteranopia (green-blind)
#FFF299
Tritanopia (blue-blind)
#FEECDF
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f795; /* rgb */ color: rgb(242, 247, 149); /* oklch */ color: oklch(95.1% 0.121 111.0);
Tailwind
colors: {
custom: {
50: '#f8f9b5',
500: '#f2f795',
950: '#000000',
},
}SCSS
$custom: #f2f795; $custom-light: #f8f9b5; $custom-dark: #000000;
JSON
{
"hex": "#f2f795",
"rgb": {
"r": 242,
"g": 247,
"b": 149
},
"hsl": {
"h": 63.061,
"s": 85.965,
"l": 77.647
},
"oklch": {
"l": 0.95122,
"c": 0.12106,
"h": 111
},
"luminance": 0.87569
}Semantic roles & 50–950 ramp
primary
#F2F795
secondary
#605AD6
accent
#03E20E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581