#F2E382#F2E382

#F2E382 is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.119 H 100.6°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#F2E382
RGBrgb(242, 227, 130)
HSLhsl(52, 81%, 73%)
HSVhsv(52, 46%, 95%)
CMYKcmyk(0%, 6.2%, 46.3%, 5.1%)
CIE-LABlab(89.59, -7.70, 48.97)
CIE-LCHlch(89.59, 49.57, 98.93°)
OKLaboklab(90.76% -0.0221 0.1174)
OKLCHoklch(90.76% 0.119 100.6)
XYZxyz(68.1181, 75.4294, 32.0859)
Luminance0.7543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E382 #8291F2
analogous
#F2AB82 #F2E382 #C9F282
triadic
#F2E382 #82F2E3 #E382F2
tetradic
#F2E382 #82F2AB #8291F2 #F282C9
square
#F2E382 #82F2AB #8291F2 #F282C9
split-complementary
#F2E382 #82C9F2 #AB82F2
monochromatic
#E2C718 #ECD74B #F2E382 #F8EFB9 #FCF9E3

Accessibility & contrast

On white

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

On black

16.09
#F2E382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E382
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E382#FFFFFF#000000##000000
##F2E3821.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7A
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#FFD7CC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e382;
/* rgb */ color: rgb(242, 227, 130);
/* oklch */ color: oklch(90.8% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#f8eba8',
    500: '#f2e382',
    950: '#000000',
  },
}
SCSS
$custom: #f2e382;
$custom-light: #f8eba8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e382",
  "rgb": {
    "r": 242,
    "g": 227,
    "b": 130
  },
  "hsl": {
    "h": 51.964,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90764,
    "c": 0.11948,
    "h": 100.6
  },
  "luminance": 0.75427
}

Semantic roles & 50–950 ramp

primary
#F2E382
secondary
#4B5CCD
accent
#25DE08
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2E382

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

Preview Lab → · Contrast checker → · Palette generator →

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