#F2E070#F2E070

#F2E070 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.134 H 100.3°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F2E070
RGBrgb(242, 224, 112)
HSLhsl(52, 83%, 69%)
HSVhsv(52, 54%, 95%)
CMYKcmyk(0%, 7.4%, 53.7%, 5.1%)
CIE-LABlab(88.62, -7.74, 56.30)
CIE-LCHlch(88.62, 56.83, 97.82°)
OKLaboklab(89.92% -0.024 0.132)
OKLCHoklch(89.92% 0.134 100.3)
XYZxyz(66.2004, 73.3609, 25.9990)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E070 #7082F2
analogous
#F29F70 #F2E070 #C3F270
triadic
#F2E070 #70F2E0 #E070F2
tetradic
#F2E070 #70F29F #7082F2 #F270C3
square
#F2E070 #70F29F #7082F2 #F270C3
split-complementary
#F2E070 #70C3F2 #9F70F2
monochromatic
#D4BA13 #EDD438 #F2E070 #F7ECA8 #FCF8E0

Accessibility & contrast

On white

1.34
#F2E070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#F2E070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E070
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E070#FFFFFF#000000##000000
##F2E0701.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA65
Deuteranopia (green-blind)
#F7E275
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e070;
/* rgb */ color: rgb(242, 224, 112);
/* oklch */ color: oklch(89.9% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#f9e99c',
    500: '#f2e070',
    950: '#000000',
  },
}
SCSS
$custom: #f2e070;
$custom-light: #f9e99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e070",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 112
  },
  "hsl": {
    "h": 51.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89924,
    "c": 0.13417,
    "h": 100.3
  },
  "luminance": 0.73358
}

Semantic roles & 50–950 ramp

primary
#F2E070
secondary
#3B4FCB
accent
#24E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E070

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F2E070 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva