#F2E489#F2E489

#F2E489 is a very light, moderate yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.113 H 100.7°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F2E489
RGBrgb(242, 228, 137)
HSLhsl(52, 80%, 74%)
HSVhsv(52, 43%, 95%)
CMYKcmyk(0%, 5.8%, 43.4%, 5.1%)
CIE-LABlab(89.94, -7.53, 45.99)
CIE-LCHlch(89.94, 46.61, 99.29°)
OKLaboklab(91.07% -0.0209 0.1112)
OKLCHoklch(91.07% 0.113 100.7)
XYZxyz(68.8783, 76.1723, 34.7365)
Luminance0.7617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E489 #8997F2
analogous
#F2B089 #F2E489 #CCF289
triadic
#F2E489 #89F2E4 #E489F2
tetradic
#F2E489 #89F2B0 #8997F2 #F289CC
square
#F2E489 #89F2B0 #8997F2 #F289CC
split-complementary
#F2E489 #89CCF2 #B089F2
monochromatic
#E6CB1B #ECD752 #F2E489 #F8F1C0 #FCF9E3

Accessibility & contrast

On white

1.29
#F2E489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F2E489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E489
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E489#FFFFFF#000000##000000
##F2E4891.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF82
Deuteranopia (green-blind)
#F8E58D
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e489;
/* rgb */ color: rgb(242, 228, 137);
/* oklch */ color: oklch(91.1% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#f8ecad',
    500: '#f2e489',
    950: '#000000',
  },
}
SCSS
$custom: #f2e489;
$custom-light: #f8ecad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e489",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 137
  },
  "hsl": {
    "h": 52,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91067,
    "c": 0.11318,
    "h": 100.7
  },
  "luminance": 0.7617
}

Semantic roles & 50–950 ramp

primary
#F2E489
secondary
#5162CE
accent
#25DC09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E489

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

Preview Lab → · Contrast checker → · Palette generator →

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