#F2DB95#F2DB95

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

Color values

HEX#F2DB95
RGBrgb(242, 219, 149)
HSLhsl(45, 78%, 77%)
HSVhsv(45, 38%, 95%)
CMYKcmyk(0%, 9.5%, 38.4%, 5.1%)
CIE-LABlab(87.83, -1.72, 37.32)
CIE-LCHlch(87.83, 37.36, 92.65°)
OKLaboklab(89.46% -0.0032 0.092)
OKLCHoklch(89.46% 0.092 92)
XYZxyz(67.3757, 71.7125, 38.7208)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB95 #95ACF2
analogous
#F2AD95 #F2DB95 #DBF295
triadic
#F2DB95 #95F2DB #DB95F2
tetradic
#F2DB95 #95F2AD #95ACF2 #F295DB
square
#F2DB95 #95F2AD #95ACF2 #F295DB
split-complementary
#F2DB95 #95DBF2 #AD95F2
monochromatic
#E5B628 #EBC85E #F2DB95 #F9EECC #FCF6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2DB95#FFFFFF#000000##000000
##F2DB951.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)
#EAD890
Deuteranopia (green-blind)
#F0DF97
Tritanopia (blue-blind)
#FFD0C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2db95;
/* rgb */ color: rgb(242, 219, 149);
/* oklch */ color: oklch(89.5% 0.092 92.0);
Tailwind
colors: {
  custom: {
    50: '#f8e6b5',
    500: '#f2db95',
    950: '#000000',
  },
}
SCSS
$custom: #f2db95;
$custom-light: #f8e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db95",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 149
  },
  "hsl": {
    "h": 45.161,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.89455,
    "c": 0.09206,
    "h": 92
  },
  "luminance": 0.7171
}

Semantic roles & 50–950 ramp

primary
#F2DB95
secondary
#5C78CF
accent
#3EDA0B
background
#FFFEFD
surface
#FFFCF8
border
#D7D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #F2DB95

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

Preview Lab → · Contrast checker → · Palette generator →

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