#F2E189#F2E189

#F2E189 is a very light, moderate yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.110 H 98.6°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#F2E189
RGBrgb(242, 225, 137)
HSLhsl(50, 80%, 74%)
HSVhsv(50, 43%, 95%)
CMYKcmyk(0%, 7%, 43.4%, 5.1%)
CIE-LABlab(89.18, -6.02, 45.04)
CIE-LCHlch(89.18, 45.44, 97.61°)
OKLaboklab(90.46% -0.0166 0.1091)
OKLCHoklch(90.46% 0.11 98.6)
XYZxyz(68.0602, 74.5361, 34.4638)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E189 #899AF2
analogous
#F2AD89 #F2E189 #CFF289
triadic
#F2E189 #89F2E1 #E189F2
tetradic
#F2E189 #89F2AD #899AF2 #F289CF
square
#F2E189 #89F2AD #899AF2 #F289CF
split-complementary
#F2E189 #89CFF2 #AD89F2
monochromatic
#E6C51B #ECD352 #F2E189 #F8EFC0 #FCF8E3

Accessibility & contrast

On white

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

On black

15.91
#F2E189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E189
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E189#FFFFFF#000000##000000
##F2E1891.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC82
Deuteranopia (green-blind)
#F5E38C
Tritanopia (blue-blind)
#FFD5CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f2e189;
/* rgb */ color: rgb(242, 225, 137);
/* oklch */ color: oklch(90.5% 0.110 98.6);
Tailwind
colors: {
  custom: {
    50: '#f8eaad',
    500: '#f2e189',
    950: '#000000',
  },
}
SCSS
$custom: #f2e189;
$custom-light: #f8eaad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e189",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 137
  },
  "hsl": {
    "h": 50.286,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.90462,
    "c": 0.11032,
    "h": 98.6
  },
  "luminance": 0.74534
}

Semantic roles & 50–950 ramp

primary
#F2E189
secondary
#5165CE
accent
#2BDC09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E189

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

Preview Lab → · Contrast checker → · Palette generator →

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