#F2E989#F2E989

#F2E989 is a very light, moderate yellow. Relative luminance 0.790; OKLCH L 92.1% C 0.118 H 103.8°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#F2E989
RGBrgb(242, 233, 137)
HSLhsl(55, 80%, 74%)
HSVhsv(55, 43%, 95%)
CMYKcmyk(0%, 3.7%, 43.4%, 5.1%)
CIE-LABlab(91.22, -10.02, 47.59)
CIE-LCHlch(91.22, 48.64, 101.89°)
OKLaboklab(92.08% -0.0281 0.1148)
OKLCHoklch(92.08% 0.118 103.8)
XYZxyz(70.2737, 78.9632, 35.2017)
Luminance0.7896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E989 #8992F2
analogous
#F2B589 #F2E989 #C7F289
triadic
#F2E989 #89F2E9 #E989F2
tetradic
#F2E989 #89F2B5 #8992F2 #F289C7
square
#F2E989 #89F2B5 #8992F2 #F289C7
split-complementary
#F2E989 #89C7F2 #B589F2
monochromatic
#E6D41B #ECDF52 #F2E989 #F8F3C0 #FCFAE3

Accessibility & contrast

On white

1.25
#F2E989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#F2E989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E989
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E989#FFFFFF#000000##000000
##F2E9891.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E381
Deuteranopia (green-blind)
#FCE88D
Tritanopia (blue-blind)
#FFDDD2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e989;
/* rgb */ color: rgb(242, 233, 137);
/* oklch */ color: oklch(92.1% 0.118 103.8);
Tailwind
colors: {
  custom: {
    50: '#f8efad',
    500: '#f2e989',
    950: '#000000',
  },
}
SCSS
$custom: #f2e989;
$custom-light: #f8efad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e989",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 137
  },
  "hsl": {
    "h": 54.857,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.9208,
    "c": 0.1182,
    "h": 103.8
  },
  "luminance": 0.78961
}

Semantic roles & 50–950 ramp

primary
#F2E989
secondary
#515CCE
accent
#1BDC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2E989

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

Preview Lab → · Contrast checker → · Palette generator →

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