#F2E181#F2E181

#F2E181 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.119 H 99.5°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F2E181
RGBrgb(242, 225, 129)
HSLhsl(51, 81%, 73%)
HSVhsv(51, 47%, 95%)
CMYKcmyk(0%, 7%, 46.7%, 5.1%)
CIE-LABlab(89.07, -6.78, 48.81)
CIE-LCHlch(89.07, 49.28, 97.91°)
OKLaboklab(90.35% -0.0195 0.117)
OKLCHoklch(90.35% 0.119 99.5)
XYZxyz(67.5074, 74.3150, 31.5528)
Luminance0.7431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E181 #8192F2
analogous
#F2A881 #F2E181 #CBF281
triadic
#F2E181 #81F2E1 #E181F2
tetradic
#F2E181 #81F2A8 #8192F2 #F281CB
square
#F2E181 #81F2A8 #8192F2 #F281CB
split-complementary
#F2E181 #81CBF2 #A881F2
monochromatic
#E1C317 #ECD44A #F2E181 #F8EEB8 #FCF8E3

Accessibility & contrast

On white

1.32
#F2E181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F2E181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E181
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E181#FFFFFF#000000##000000
##F2E1811.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC79
Deuteranopia (green-blind)
#F6E385
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e181;
/* rgb */ color: rgb(242, 225, 129);
/* oklch */ color: oklch(90.3% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8eaa7',
    500: '#f2e181',
    950: '#000000',
  },
}
SCSS
$custom: #f2e181;
$custom-light: #f8eaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e181",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 129
  },
  "hsl": {
    "h": 50.973,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90345,
    "c": 0.11862,
    "h": 99.5
  },
  "luminance": 0.74313
}

Semantic roles & 50–950 ramp

primary
#F2E181
secondary
#4A5ECD
accent
#28DE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #F2E181

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

Preview Lab → · Contrast checker → · Palette generator →

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