#DDBB12#DDBB12

#DDBB12 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.161 H 95.5°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#DDBB12
RGBrgb(221, 187, 18)
HSLhsl(50, 85%, 47%)
HSVhsv(50, 92%, 87%)
CMYKcmyk(0%, 15.4%, 91.9%, 13.3%)
CIE-LABlab(76.65, -2.03, 76.35)
CIE-LCHlch(76.65, 76.37, 91.52°)
OKLaboklab(79.81% -0.0155 0.1606)
OKLCHoklch(79.81% 0.161 95.5)
XYZxyz(47.7012, 50.9594, 7.8958)
Luminance0.5096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDBB12 #1234DD
analogous
#DD5612 #DDBB12 #99DD12
triadic
#DDBB12 #12DDBB #BB12DD
tetradic
#DDBB12 #12DD56 #1234DD #DD1299
square
#DDBB12 #12DD56 #1234DD #DD1299
split-complementary
#DDBB12 #1299DD #5612DD
monochromatic
#6C5B09 #A48B0D #DDBB12 #EFD13D #F4DF76

Accessibility & contrast

On white

1.88
#DDBB12 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#DDBB12 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDBB12
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDBB12#FFFFFF#000000##000000
##DDBB121.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D9C225
Tritanopia (blue-blind)
#F0AB9F
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ddbb12;
/* rgb */ color: rgb(221, 187, 18);
/* oklch */ color: oklch(79.8% 0.161 95.5);
Tailwind
colors: {
  custom: {
    50: '#edce69',
    500: '#ddbb12',
    950: '#000000',
  },
}
SCSS
$custom: #ddbb12;
$custom-light: #edce69;
$custom-dark: #000000;
JSON
{
  "hex": "#ddbb12",
  "rgb": {
    "r": 221,
    "g": 187,
    "b": 18
  },
  "hsl": {
    "h": 49.951,
    "s": 84.937,
    "l": 46.863
  },
  "oklch": {
    "l": 0.79813,
    "c": 0.16129,
    "h": 95.5
  },
  "luminance": 0.50956
}

Semantic roles & 50–950 ramp

primary
#DDBB12
secondary
#1E2C75
accent
#4FFB2D
background
#FFFEFB
surface
#FFFAF0
border
#D7D3CB
text
#171307
muted
#85837C

Preview Lab

Preview with #DDBB12

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

Preview Lab → · Contrast checker → · Palette generator →

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