#DDC258#DDC258

#DDC258 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.129 H 95.1°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#DDC258
RGBrgb(221, 194, 88)
HSLhsl(48, 66%, 61%)
HSVhsv(48, 60%, 87%)
CMYKcmyk(0%, 12.2%, 60.2%, 13.3%)
CIE-LABlab(78.85, -2.86, 55.62)
CIE-LCHlch(78.85, 55.69, 92.94°)
OKLaboklab(81.67% -0.0114 0.1283)
OKLCHoklch(81.67% 0.129 95.1)
XYZxyz(50.8742, 54.6628, 17.1019)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC258 #5873DD
analogous
#DD8058 #DDC258 #B5DD58
triadic
#DDC258 #58DDC2 #C258DD
tetradic
#DDC258 #58DD80 #5873DD #DD58B5
square
#DDC258 #58DD80 #5873DD #DD58B5
split-complementary
#DDC258 #58B5DD #8058DD
monochromatic
#9B8220 #CEAD2A #DDC258 #E7D58B #F2E7BE

Accessibility & contrast

On white

1.76
#DDC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#DDC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC258
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC258#FFFFFF#000000##000000
##DDC2581.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4D
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#EDB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ddc258;
/* rgb */ color: rgb(221, 194, 88);
/* oklch */ color: oklch(81.7% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#ebd48b',
    500: '#ddc258',
    950: '#000000',
  },
}
SCSS
$custom: #ddc258;
$custom-light: #ebd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc258",
  "rgb": {
    "r": 221,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 47.82,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81672,
    "c": 0.12876,
    "h": 95.1
  },
  "luminance": 0.5466
}

Semantic roles & 50–950 ramp

primary
#DDC258
secondary
#3A4F9F
accent
#3DCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC258

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

Preview Lab → · Contrast checker → · Palette generator →

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