#F2F07B#F2F07B
#F2F07B is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.3% C 0.140 H 107.9°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F07B |
|---|---|
| RGB | rgb(242, 240, 123) |
| HSL | hsl(59, 82%, 72%) |
| HSV | hsv(59, 49%, 95%) |
| CMYK | cmyk(0%, 0.8%, 49.2%, 5.1%) |
| CIE-LAB | lab(92.85, -14.76, 56.21) |
| CIE-LCH | lch(92.85, 58.12, 104.71°) |
| OKLab | oklab(93.33% -0.043 0.1328) |
| OKLCH | oklch(93.33% 0.14 107.9) |
| XYZ | xyz(71.3549, 82.6293, 30.9253) |
| Luminance | 0.8263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.97
Manilla
#FFFA86
ΔE00 2.31
Yellowish Tan
#FCFC81
ΔE00 2.49
Pale Yellow
#FFFF84
ΔE00 3.07
Butter
#FFFF81
ΔE00 3.13
Custard
#FFFD78
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F07B #7B7DF2
analogous
#F2B57B #F2F07B #B9F27B
triadic
#F2F07B #7BF2F0 #F07BF2
tetradic
#F2F07B #7BF2B5 #7B7DF2 #F27BB9
square
#F2F07B #7BF2B5 #7B7DF2 #F27BB9
split-complementary
#F2F07B #7BB9F2 #B57BF2
monochromatic
#DDDA16 #EDEA43 #F2F07B #F7F6B3 #FCFCE3
Accessibility & contrast
On white
1.20
#F2F07B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.53
#F2F07B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F07B
17.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F07B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F07B | 1.00 | 1.20 | 17.53 | 17.53 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE870
Deuteranopia (green-blind)
#FFED81
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #f2f07b; /* rgb */ color: rgb(242, 240, 123); /* oklch */ color: oklch(93.3% 0.140 107.9);
Tailwind
colors: {
custom: {
50: '#f8f4a4',
500: '#f2f07b',
950: '#000000',
},
}SCSS
$custom: #f2f07b; $custom-light: #f8f4a4; $custom-dark: #000000;
JSON
{
"hex": "#f2f07b",
"rgb": {
"r": 242,
"g": 240,
"b": 123
},
"hsl": {
"h": 58.992,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.93325,
"c": 0.13962,
"h": 107.9
},
"luminance": 0.82627
}Semantic roles & 50–950 ramp
primary
#F2F07B
secondary
#4547CD
accent
#0BDE07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580