#F2E591#F2E591

#F2E591 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.106 H 100.6°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#F2E591
RGBrgb(242, 229, 145)
HSLhsl(52, 79%, 76%)
HSVhsv(52, 40%, 95%)
CMYKcmyk(0%, 5.4%, 40.1%, 5.1%)
CIE-LABlab(90.30, -7.21, 42.52)
CIE-LCHlch(90.30, 43.12, 99.63°)
OKLaboklab(91.39% -0.0194 0.1038)
OKLCHoklch(91.39% 0.106 100.6)
XYZxyz(69.7495, 76.9622, 37.9636)
Luminance0.7696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E591 #919EF2
analogous
#F2B491 #F2E591 #CEF291
triadic
#F2E591 #91F2E5 #E591F2
tetradic
#F2E591 #91F2B4 #919EF2 #F291CE
square
#F2E591 #91F2B4 #919EF2 #F291CE
split-complementary
#F2E591 #91CEF2 #B491F2
monochromatic
#E5CB24 #ECD85A #F2E591 #F8F2C8 #FCF9E4

Accessibility & contrast

On white

1.28
#F2E591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#F2E591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E591
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E591#FFFFFF#000000##000000
##F2E5911.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E08B
Deuteranopia (green-blind)
#F8E694
Tritanopia (blue-blind)
#FFDAD0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e591;
/* rgb */ color: rgb(242, 229, 145);
/* oklch */ color: oklch(91.4% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#f8edb2',
    500: '#f2e591',
    950: '#000000',
  },
}
SCSS
$custom: #f2e591;
$custom-light: #f8edb2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e591",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 145
  },
  "hsl": {
    "h": 51.959,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91392,
    "c": 0.10557,
    "h": 100.6
  },
  "luminance": 0.7696
}

Semantic roles & 50–950 ramp

primary
#F2E591
secondary
#5868CF
accent
#26DB0A
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E591

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

Preview Lab → · Contrast checker → · Palette generator →

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