#F2E071#F2E071

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

Color values

HEX#F2E071
RGBrgb(242, 224, 113)
HSLhsl(52, 83%, 70%)
HSVhsv(52, 53%, 95%)
CMYKcmyk(0%, 7.4%, 53.3%, 5.1%)
CIE-LABlab(88.63, -7.66, 55.85)
CIE-LCHlch(88.63, 56.37, 97.81°)
OKLaboklab(89.94% -0.0237 0.1311)
OKLCHoklch(89.94% 0.133 100.2)
XYZxyz(66.2564, 73.3833, 26.2939)
Luminance0.7338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E071 #7183F2
analogous
#F2A071 #F2E071 #C4F271
triadic
#F2E071 #71F2E0 #E071F2
tetradic
#F2E071 #71F2A0 #7183F2 #F271C4
square
#F2E071 #71F2A0 #7183F2 #F271C4
split-complementary
#F2E071 #71C4F2 #A071F2
monochromatic
#D5BA14 #EDD439 #F2E071 #F7ECA9 #FCF8E1

Accessibility & contrast

On white

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

On black

15.68
#F2E071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E071
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E071#FFFFFF#000000##000000
##F2E0711.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e071;
/* rgb */ color: rgb(242, 224, 113);
/* oklch */ color: oklch(89.9% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#f9e99d',
    500: '#f2e071',
    950: '#000000',
  },
}
SCSS
$custom: #f2e071;
$custom-light: #f9e99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e071",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 113
  },
  "hsl": {
    "h": 51.628,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89936,
    "c": 0.13325,
    "h": 100.2
  },
  "luminance": 0.73381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E071

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

Preview Lab → · Contrast checker → · Palette generator →

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