#F2DB98#F2DB98

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

Color values

HEX#F2DB98
RGBrgb(242, 219, 152)
HSLhsl(45, 78%, 77%)
HSVhsv(45, 37%, 95%)
CMYKcmyk(0%, 9.5%, 37.2%, 5.1%)
CIE-LABlab(87.88, -1.39, 35.86)
CIE-LCHlch(87.88, 35.89, 92.22°)
OKLaboklab(89.51% -0.002 0.0887)
OKLCHoklch(89.51% 0.089 91.3)
XYZxyz(67.6183, 71.8096, 39.9985)
Luminance0.7181 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB98 #98AFF2
analogous
#F2AE98 #F2DB98 #DCF298
triadic
#F2DB98 #98F2DB #DB98F2
tetradic
#F2DB98 #98F2AE #98AFF2 #F298DC
square
#F2DB98 #98F2AE #98AFF2 #F298DC
split-complementary
#F2DB98 #98DCF2 #AE98F2
monochromatic
#E4B52B #EBC862 #F2DB98 #F9EECE #FCF6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DB98#FFFFFF#000000##000000
##F2DB981.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)
#E9D893
Deuteranopia (green-blind)
#EFDF9A
Tritanopia (blue-blind)
#FFD1CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2db98;
/* rgb */ color: rgb(242, 219, 152);
/* oklch */ color: oklch(89.5% 0.089 91.3);
Tailwind
colors: {
  custom: {
    50: '#f7e6b7',
    500: '#f2db98',
    950: '#000000',
  },
}
SCSS
$custom: #f2db98;
$custom-light: #f7e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db98",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 44.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.89507,
    "c": 0.08874,
    "h": 91.3
  },
  "luminance": 0.71807
}

Semantic roles & 50–950 ramp

primary
#F2DB98
secondary
#5F7CD0
accent
#40DA0C
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F2DB98

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

Preview Lab → · Contrast checker → · Palette generator →

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