#F2E072#F2E072

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

Color values

HEX#F2E072
RGBrgb(242, 224, 114)
HSLhsl(52, 83%, 70%)
HSVhsv(52, 53%, 95%)
CMYKcmyk(0%, 7.4%, 52.9%, 5.1%)
CIE-LABlab(88.64, -7.58, 55.40)
CIE-LCHlch(88.64, 55.92, 97.79°)
OKLaboklab(89.95% -0.0233 0.1303)
OKLCHoklch(89.95% 0.132 100.2)
XYZxyz(66.3130, 73.4059, 26.5920)
Luminance0.7340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E072 #7284F2
analogous
#F2A072 #F2E072 #C4F272
triadic
#F2E072 #72F2E0 #E072F2
tetradic
#F2E072 #72F2A0 #7284F2 #F272C4
square
#F2E072 #72F2A0 #7284F2 #F272C4
split-complementary
#F2E072 #72C4F2 #A072F2
monochromatic
#D6BB14 #EDD43A #F2E072 #F7ECAA #FCF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E072#FFFFFF#000000##000000
##F2E0721.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)
#F2DA68
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2e072;
/* rgb */ color: rgb(242, 224, 114);
/* oklch */ color: oklch(89.9% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#f9e99d',
    500: '#f2e072',
    950: '#000000',
  },
}
SCSS
$custom: #f2e072;
$custom-light: #f9e99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e072",
  "rgb": {
    "r": 242,
    "g": 224,
    "b": 114
  },
  "hsl": {
    "h": 51.563,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89948,
    "c": 0.13233,
    "h": 100.2
  },
  "luminance": 0.73403
}

Semantic roles & 50–950 ramp

primary
#F2E072
secondary
#3D51CC
accent
#25E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E072

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

Preview Lab → · Contrast checker → · Palette generator →

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