#DDF162#DDF162

#DDF162 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 91.6% C 0.167 H 116.5°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#DDF162
RGBrgb(221, 241, 98)
HSLhsl(68, 84%, 66%)
HSVhsv(68, 59%, 95%)
CMYKcmyk(8.3%, 0%, 59.3%, 5.5%)
CIE-LABlab(91.31, -25.48, 65.07)
CIE-LCHlch(91.31, 69.88, 111.39°)
OKLaboklab(91.63% -0.0747 0.1496)
OKLCHoklch(91.63% 0.167 116.5)
XYZxyz(63.4799, 79.1653, 23.4892)
Luminance0.7916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF162 #7662F1
analogous
#F1BE62 #DDF162 #96F162
triadic
#DDF162 #62DDF1 #F162DD
tetradic
#DDF162 #62F1BE #7662F1 #F16296
square
#DDF162 #62F1BE #7662F1 #F16296
split-complementary
#DDF162 #6296F1 #BE62F1
monochromatic
#AEC712 #D1EC2A #DDF162 #E9F69A #F5FBD2

Accessibility & contrast

On white

1.25
#DDF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#DDF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF162
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF162#FFFFFF#000000##000000
##DDF1621.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#E9E5D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ddf162;
/* rgb */ color: rgb(221, 241, 98);
/* oklch */ color: oklch(91.6% 0.167 116.5);
Tailwind
colors: {
  custom: {
    50: '#eaf594',
    500: '#ddf162',
    950: '#000000',
  },
}
SCSS
$custom: #ddf162;
$custom-light: #eaf594;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf162",
  "rgb": {
    "r": 221,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 68.392,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91629,
    "c": 0.16721,
    "h": 116.5
  },
  "luminance": 0.79165
}

Semantic roles & 50–950 ramp

primary
#DDF162
secondary
#4733C4
accent
#05E024
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DDF162

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

Preview Lab → · Contrast checker → · Palette generator →

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