#DDDF5B#DDDF5B

#DDDF5B is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.7% C 0.153 H 110.0°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#DDDF5B
RGBrgb(221, 223, 91)
HSLhsl(61, 67%, 62%)
HSVhsv(61, 59%, 87%)
CMYKcmyk(0.9%, 0%, 59.2%, 12.5%)
CIE-LABlab(86.46, -17.29, 62.70)
CIE-LCHlch(86.46, 65.04, 105.42°)
OKLaboklab(87.73% -0.0523 0.1437)
OKLCHoklch(87.73% 0.153 110)
XYZxyz(58.0965, 68.9043, 20.1350)
Luminance0.6890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDDF5B #5D5BDF
analogous
#DF9F5B #DDDF5B #9BDF5B
triadic
#DDDF5B #5BDDDF #DF5BDD
tetradic
#DDDF5B #5BDF9F #5D5BDF #DF5B9B
square
#DDDF5B #5BDF9F #5D5BDF #DF5B9B
split-complementary
#DDDF5B #5B9BDF #9F5BDF
monochromatic
#9EA01F #D1D429 #DDDF5B #E8E98E #F2F3C1

Accessibility & contrast

On white

1.42
#DDDF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#DDDF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDDF5B
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDDF5B#FFFFFF#000000##000000
##DDDF5B1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64C
Deuteranopia (green-blind)
#F1DA63
Tritanopia (blue-blind)
#EBD2C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dddf5b;
/* rgb */ color: rgb(221, 223, 91);
/* oklch */ color: oklch(87.7% 0.153 110.0);
Tailwind
colors: {
  custom: {
    50: '#eae88f',
    500: '#dddf5b',
    950: '#000000',
  },
}
SCSS
$custom: #dddf5b;
$custom-light: #eae88f;
$custom-dark: #000000;
JSON
{
  "hex": "#dddf5b",
  "rgb": {
    "r": 221,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 60.909,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87727,
    "c": 0.15295,
    "h": 110
  },
  "luminance": 0.68903
}

Semantic roles & 50–950 ramp

primary
#DDDF5B
secondary
#3C3BA3
accent
#16CF19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DDDF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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