#F2D889#F2D889

#F2D889 is a very light, moderate yellow. Relative luminance 0.698; OKLCH L 88.7% C 0.103 H 91.9°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#F2D889
RGBrgb(242, 216, 137)
HSLhsl(45, 80%, 74%)
HSVhsv(45, 43%, 95%)
CMYKcmyk(0%, 10.7%, 43.4%, 5.1%)
CIE-LABlab(86.90, -1.45, 42.16)
CIE-LCHlch(86.90, 42.18, 91.97°)
OKLaboklab(88.66% -0.0033 0.1026)
OKLCHoklch(88.66% 0.103 91.9)
XYZxyz(65.6910, 69.7977, 33.6741)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D889 #89A3F2
analogous
#F2A489 #F2D889 #D8F289
triadic
#F2D889 #89F2D8 #D889F2
tetradic
#F2D889 #89F2A4 #89A3F2 #F289D8
square
#F2D889 #89F2A4 #89A3F2 #F289D8
split-complementary
#F2D889 #89D8F2 #A489F2
monochromatic
#E6B41B #ECC652 #F2D889 #F8EAC0 #FCF6E3

Accessibility & contrast

On white

1.40
#F2D889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#F2D889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D889
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D889#FFFFFF#000000##000000
##F2D8891.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D583
Deuteranopia (green-blind)
#EFDD8C
Tritanopia (blue-blind)
#FFCCC4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2d889;
/* rgb */ color: rgb(242, 216, 137);
/* oklch */ color: oklch(88.7% 0.103 91.9);
Tailwind
colors: {
  custom: {
    50: '#f8e3ac',
    500: '#f2d889',
    950: '#000000',
  },
}
SCSS
$custom: #f2d889;
$custom-light: #f8e3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d889",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 137
  },
  "hsl": {
    "h": 45.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.88661,
    "c": 0.10261,
    "h": 91.9
  },
  "luminance": 0.69795
}

Semantic roles & 50–950 ramp

primary
#F2D889
secondary
#5170CE
accent
#3DDC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D889

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

Preview Lab → · Contrast checker → · Palette generator →

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