#DEE97B#DEE97B

#DEE97B is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.3% C 0.135 H 113.8°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#DEE97B
RGBrgb(222, 233, 123)
HSLhsl(66, 71%, 70%)
HSVhsv(66, 47%, 91%)
CMYKcmyk(4.7%, 0%, 47.2%, 8.6%)
CIE-LABlab(89.50, -19.18, 51.84)
CIE-LCHlch(89.50, 55.27, 110.31°)
OKLaboklab(90.28% -0.0545 0.1235)
OKLCHoklch(90.28% 0.135 113.8)
XYZxyz(62.8392, 75.2384, 29.9472)
Luminance0.7524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEE97B #867BE9
analogous
#E9BD7B #DEE97B #A7E97B
triadic
#DEE97B #7BDEE9 #E97BDE
tetradic
#DEE97B #7BE9BD #867BE9 #E97BA7
square
#DEE97B #7BE9BD #867BE9 #E97BA7
split-complementary
#DEE97B #7BA7E9 #BD7BE9
monochromatic
#B8C821 #D1E047 #DEE97B #EBF2AF #F8FAE4

Accessibility & contrast

On white

1.31
#DEE97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#DEE97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEE97B
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEE97B#FFFFFF#000000##000000
##DEE97B1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E071
Deuteranopia (green-blind)
#F6E281
Tritanopia (blue-blind)
#EADECF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dee97b;
/* rgb */ color: rgb(222, 233, 123);
/* oklch */ color: oklch(90.3% 0.135 113.8);
Tailwind
colors: {
  custom: {
    50: '#eaf0a3',
    500: '#dee97b',
    950: '#000000',
  },
}
SCSS
$custom: #dee97b;
$custom-light: #eaf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dee97b",
  "rgb": {
    "r": 222,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 66,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90284,
    "c": 0.13502,
    "h": 113.8
  },
  "luminance": 0.75237
}

Semantic roles & 50–950 ramp

primary
#DEE97B
secondary
#5347C2
accent
#12D325
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #DEE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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