#DDB845#DDB845

#DDB845 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.5% C 0.137 H 90.9°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#DDB845
RGBrgb(221, 184, 69)
HSLhsl(45, 69%, 57%)
HSVhsv(45, 69%, 87%)
CMYKcmyk(0%, 16.7%, 68.8%, 13.3%)
CIE-LABlab(76.12, 1.20, 60.94)
CIE-LCHlch(76.12, 60.95, 88.88°)
OKLaboklab(79.47% -0.002 0.1367)
OKLCHoklch(79.47% 0.137 90.9)
XYZxyz(48.0360, 50.0856, 12.7664)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDB845 #456ADD
analogous
#DD6C45 #DDB845 #B6DD45
triadic
#DDB845 #45DDB8 #B845DD
tetradic
#DDB845 #45DD6C #456ADD #DD45B6
square
#DDB845 #45DD6C #456ADD #DD45B6
split-complementary
#DDB845 #45B6DD #6C45DD
monochromatic
#8E721A #C19B23 #DDB845 #E6CC79 #F0E0AC

Accessibility & contrast

On white

1.91
#DDB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#DDB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDB845
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDB845#FFFFFF#000000##000000
##DDB8451.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB636
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#EFA9A0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ddb845;
/* rgb */ color: rgb(221, 184, 69);
/* oklch */ color: oklch(79.5% 0.137 90.9);
Tailwind
colors: {
  custom: {
    50: '#ebcd7f',
    500: '#ddb845',
    950: '#000000',
  },
}
SCSS
$custom: #ddb845;
$custom-light: #ebcd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ddb845",
  "rgb": {
    "r": 221,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 45.395,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79467,
    "c": 0.13673,
    "h": 90.9
  },
  "luminance": 0.50083
}

Semantic roles & 50–950 ramp

primary
#DDB845
secondary
#334B93
accent
#67EC3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DDB845

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

Preview Lab → · Contrast checker → · Palette generator →

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