#F2E376#F2E376

#F2E376 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.131 H 101.6°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#F2E376
RGBrgb(242, 227, 118)
HSLhsl(53, 83%, 71%)
HSVhsv(53, 51%, 95%)
CMYKcmyk(0%, 6.2%, 51.2%, 5.1%)
CIE-LABlab(89.45, -8.75, 54.50)
CIE-LCHlch(89.45, 55.19, 99.12°)
OKLaboklab(90.61% -0.0263 0.1286)
OKLCHoklch(90.61% 0.131 101.6)
XYZxyz(67.3591, 75.1258, 28.0886)
Luminance0.7512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E376 #7685F2
analogous
#F2A576 #F2E376 #C3F276
triadic
#F2E376 #76F2E3 #E376F2
tetradic
#F2E376 #76F2A5 #7685F2 #F276C3
square
#F2E376 #76F2A5 #7685F2 #F276C3
split-complementary
#F2E376 #76C3F2 #A576F2
monochromatic
#D9C115 #EDD83E #F2E376 #F7EEAE #FCF9E3

Accessibility & contrast

On white

1.31
#F2E376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#F2E376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E376
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E376#FFFFFF#000000##000000
##F2E3761.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6C
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e376;
/* rgb */ color: rgb(242, 227, 118);
/* oklch */ color: oklch(90.6% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#f9eba0',
    500: '#f2e376',
    950: '#000000',
  },
}
SCSS
$custom: #f2e376;
$custom-light: #f9eba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e376",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 118
  },
  "hsl": {
    "h": 52.742,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90605,
    "c": 0.13131,
    "h": 101.6
  },
  "luminance": 0.75123
}

Semantic roles & 50–950 ramp

primary
#F2E376
secondary
#4051CC
accent
#21DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E376

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

Preview Lab → · Contrast checker → · Palette generator →

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