#F2E592#F2E592

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

Color values

HEX#F2E592
RGBrgb(242, 229, 146)
HSLhsl(52, 79%, 76%)
HSVhsv(52, 40%, 95%)
CMYKcmyk(0%, 5.4%, 39.7%, 5.1%)
CIE-LABlab(90.32, -7.11, 42.04)
CIE-LCHlch(90.32, 42.64, 99.60°)
OKLaboklab(91.41% -0.019 0.1027)
OKLCHoklch(91.41% 0.104 100.5)
XYZxyz(69.8269, 76.9932, 38.3715)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E592 #929FF2
analogous
#F2B592 #F2E592 #CFF292
triadic
#F2E592 #92F2E5 #E592F2
tetradic
#F2E592 #92F2B5 #929FF2 #F292CF
square
#F2E592 #92F2B5 #929FF2 #F292CF
split-complementary
#F2E592 #92CFF2 #B592F2
monochromatic
#E5CB25 #EBD85B #F2E592 #F9F2C9 #FCF8E4

Accessibility & contrast

On white

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

On black

16.40
#F2E592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E592
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E592#FFFFFF#000000##000000
##F2E5921.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e592;
/* rgb */ color: rgb(242, 229, 146);
/* oklch */ color: oklch(91.4% 0.104 100.5);
Tailwind
colors: {
  custom: {
    50: '#f8edb3',
    500: '#f2e592',
    950: '#000000',
  },
}
SCSS
$custom: #f2e592;
$custom-light: #f8edb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e592",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 146
  },
  "hsl": {
    "h": 51.875,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91408,
    "c": 0.10447,
    "h": 100.5
  },
  "luminance": 0.76991
}

Semantic roles & 50–950 ramp

primary
#F2E592
secondary
#5969CF
accent
#27DB0B
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F2E592

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

Preview Lab → · Contrast checker → · Palette generator →

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