#F2F273#F2F273
#F2F273 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.149 H 109.0°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F273 |
|---|---|
| RGB | rgb(242, 242, 115) |
| HSL | hsl(60, 83%, 70%) |
| HSV | hsv(60, 52%, 95%) |
| CMYK | cmyk(0%, 0%, 52.5%, 5.1%) |
| CIE-LAB | lab(93.29, -16.39, 60.35) |
| CIE-LCH | lch(93.29, 62.54, 105.20°) |
| OKLab | oklab(93.64% -0.0485 0.1411) |
| OKLCH | oklch(93.64% 0.149 109) |
| XYZ | xyz(71.4664, 83.6211, 28.5922) |
| Luminance | 0.8362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.77
Yellowish Tan
#FCFC81
ΔE00 2.17
Custard
#FFFD78
ΔE00 2.45
Light Yellow
#FFFE7A
ΔE00 2.54
Manilla
#FFFA86
ΔE00 2.57
Butter Yellow
#FFFD74
ΔE00 2.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F273 #7373F2
analogous
#F2B373 #F2F273 #B3F273
triadic
#F2F273 #73F2F2 #F273F2
tetradic
#F2F273 #73F2B3 #7373F2 #F273B3
square
#F2F273 #73F2B3 #7373F2 #F273B3
split-complementary
#F2F273 #73B2F2 #B273F2
monochromatic
#D7D714 #EDED3B #F2F273 #F7F7AB #FCFCE3
Accessibility & contrast
On white
1.18
#F2F273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.72
#F2F273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F273
17.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F273 | 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)
#FFE966
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2f273; /* rgb */ color: rgb(242, 242, 115); /* oklch */ color: oklch(93.6% 0.149 109.0);
Tailwind
colors: {
custom: {
50: '#f9f69f',
500: '#f2f273',
950: '#000000',
},
}SCSS
$custom: #f2f273; $custom-light: #f9f69f; $custom-dark: #000000;
JSON
{
"hex": "#f2f273",
"rgb": {
"r": 242,
"g": 242,
"b": 115
},
"hsl": {
"h": 60,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.93643,
"c": 0.14916,
"h": 109
},
"luminance": 0.83619
}Semantic roles & 50–950 ramp
primary
#F2F273
secondary
#3D3DCC
accent
#06DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580