#DDB947#DDB947

#DDB947 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.7% C 0.136 H 91.3°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#DDB947
RGBrgb(221, 185, 71)
HSLhsl(46, 69%, 57%)
HSVhsv(46, 68%, 87%)
CMYKcmyk(0%, 16.3%, 67.9%, 13.3%)
CIE-LABlab(76.39, 0.78, 60.39)
CIE-LCHlch(76.39, 60.40, 89.26°)
OKLaboklab(79.69% -0.003 0.1359)
OKLCHoklch(79.69% 0.136 91.3)
XYZxyz(48.3076, 50.5278, 13.1684)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDB947 #476BDD
analogous
#DD6E47 #DDB947 #B6DD47
triadic
#DDB947 #47DDB9 #B947DD
tetradic
#DDB947 #47DD6E #476BDD #DD47B6
square
#DDB947 #47DD6E #476BDD #DD47B6
split-complementary
#DDB947 #47B6DD #6E47DD
monochromatic
#8F731A #C39D24 #DDB947 #E7CD7B #F0E0AE

Accessibility & contrast

On white

1.89
#DDB947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#DDB947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDB947
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDB947#FFFFFF#000000##000000
##DDB9471.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB638
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#EFAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ddb947;
/* rgb */ color: rgb(221, 185, 71);
/* oklch */ color: oklch(79.7% 0.136 91.3);
Tailwind
colors: {
  custom: {
    50: '#ebcd80',
    500: '#ddb947',
    950: '#000000',
  },
}
SCSS
$custom: #ddb947;
$custom-light: #ebcd80;
$custom-dark: #000000;
JSON
{
  "hex": "#ddb947",
  "rgb": {
    "r": 221,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 45.6,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79686,
    "c": 0.13591,
    "h": 91.3
  },
  "luminance": 0.50525
}

Semantic roles & 50–950 ramp

primary
#DDB947
secondary
#344B94
accent
#66EC3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DDB947

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

Preview Lab → · Contrast checker → · Palette generator →

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