#F2DB97#F2DB97

#F2DB97 is a very light, moderate orange. Relative luminance 0.718; OKLCH L 89.5% C 0.090 H 91.5°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F2DB97
RGBrgb(242, 219, 151)
HSLhsl(45, 78%, 77%)
HSVhsv(45, 38%, 95%)
CMYKcmyk(0%, 9.5%, 37.6%, 5.1%)
CIE-LABlab(87.86, -1.50, 36.35)
CIE-LCHlch(87.86, 36.38, 92.37°)
OKLaboklab(89.49% -0.0024 0.0898)
OKLCHoklch(89.49% 0.09 91.5)
XYZxyz(67.5368, 71.7770, 39.5689)
Luminance0.7177 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB97 #97AEF2
analogous
#F2AE97 #F2DB97 #DCF297
triadic
#F2DB97 #97F2DB #DB97F2
tetradic
#F2DB97 #97F2AE #97AEF2 #F297DC
square
#F2DB97 #97F2AE #97AEF2 #F297DC
split-complementary
#F2DB97 #97DCF2 #AE97F2
monochromatic
#E4B52A #EBC861 #F2DB97 #F9EECD #FCF6E4

Accessibility & contrast

On white

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

On black

15.36
#F2DB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB97
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB97#FFFFFF#000000##000000
##F2DB971.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D892
Deuteranopia (green-blind)
#EFDF99
Tritanopia (blue-blind)
#FFD1CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2db97;
/* rgb */ color: rgb(242, 219, 151);
/* oklch */ color: oklch(89.5% 0.090 91.5);
Tailwind
colors: {
  custom: {
    50: '#f7e6b6',
    500: '#f2db97',
    950: '#000000',
  },
}
SCSS
$custom: #f2db97;
$custom-light: #f7e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db97",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 44.835,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.8949,
    "c": 0.08985,
    "h": 91.5
  },
  "luminance": 0.71775
}

Semantic roles & 50–950 ramp

primary
#F2DB97
secondary
#5E7ACF
accent
#40DA0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F2DB97

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

Preview Lab → · Contrast checker → · Palette generator →

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