#F2DB94#F2DB94

#F2DB94 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.093 H 92.2°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#F2DB94
RGBrgb(242, 219, 148)
HSLhsl(45, 78%, 76%)
HSVhsv(45, 39%, 95%)
CMYKcmyk(0%, 9.5%, 38.8%, 5.1%)
CIE-LABlab(87.81, -1.83, 37.81)
CIE-LCHlch(87.81, 37.85, 92.78°)
OKLaboklab(89.44% -0.0036 0.0931)
OKLCHoklch(89.44% 0.093 92.2)
XYZxyz(67.2962, 71.6807, 38.3021)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB94 #94ABF2
analogous
#F2AC94 #F2DB94 #DAF294
triadic
#F2DB94 #94F2DB #DB94F2
tetradic
#F2DB94 #94F2AC #94ABF2 #F294DA
square
#F2DB94 #94F2AC #94ABF2 #F294DA
split-complementary
#F2DB94 #94DAF2 #AC94F2
monochromatic
#E5B627 #EBC95D #F2DB94 #F9EDCB #FCF6E4

Accessibility & contrast

On white

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

On black

15.34
#F2DB94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB94
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB94#FFFFFF#000000##000000
##F2DB941.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD88F
Deuteranopia (green-blind)
#F0DF96
Tritanopia (blue-blind)
#FFD0C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2db94;
/* rgb */ color: rgb(242, 219, 148);
/* oklch */ color: oklch(89.4% 0.093 92.2);
Tailwind
colors: {
  custom: {
    50: '#f8e6b4',
    500: '#f2db94',
    950: '#000000',
  },
}
SCSS
$custom: #f2db94;
$custom-light: #f8e6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db94",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 148
  },
  "hsl": {
    "h": 45.319,
    "s": 78.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.89438,
    "c": 0.09316,
    "h": 92.2
  },
  "luminance": 0.71678
}

Semantic roles & 50–950 ramp

primary
#F2DB94
secondary
#5B77CF
accent
#3EDB0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F2DB94

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

Preview Lab → · Contrast checker → · Palette generator →

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