#F2DB91#F2DB91

#F2DB91 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.4% C 0.096 H 92.8°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F2DB91
RGBrgb(242, 219, 145)
HSLhsl(46, 79%, 76%)
HSVhsv(46, 40%, 95%)
CMYKcmyk(0%, 9.5%, 40.1%, 5.1%)
CIE-LABlab(87.77, -2.16, 39.26)
CIE-LCHlch(87.77, 39.32, 93.14°)
OKLaboklab(89.39% -0.0047 0.0963)
OKLCHoklch(89.39% 0.096 92.8)
XYZxyz(67.0618, 71.5870, 37.0677)
Luminance0.7158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB91 #91A8F2
analogous
#F2AA91 #F2DB91 #D8F291
triadic
#F2DB91 #91F2DB #DB91F2
tetradic
#F2DB91 #91F2AA #91A8F2 #F291D8
square
#F2DB91 #91F2AA #91A8F2 #F291D8
split-complementary
#F2DB91 #91D8F2 #AA91F2
monochromatic
#E5B724 #ECC95A #F2DB91 #F8EDC8 #FCF6E4

Accessibility & contrast

On white

1.37
#F2DB91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#F2DB91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB91
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB91#FFFFFF#000000##000000
##F2DB911.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD88C
Deuteranopia (green-blind)
#F0DF94
Tritanopia (blue-blind)
#FFD0C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2db91;
/* rgb */ color: rgb(242, 219, 145);
/* oklch */ color: oklch(89.4% 0.096 92.8);
Tailwind
colors: {
  custom: {
    50: '#f8e6b2',
    500: '#f2db91',
    950: '#000000',
  },
}
SCSS
$custom: #f2db91;
$custom-light: #f8e6b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db91",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 145
  },
  "hsl": {
    "h": 45.773,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89387,
    "c": 0.09645,
    "h": 92.8
  },
  "luminance": 0.71585
}

Semantic roles & 50–950 ramp

primary
#F2DB91
secondary
#5874CF
accent
#3CDB0A
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F2DB91

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

Preview Lab → · Contrast checker → · Palette generator →

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