#D0B339#D0B339

#D0B339 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.139 H 95.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#D0B339
RGBrgb(208, 179, 57)
HSLhsl(48, 62%, 52%)
HSVhsv(48, 73%, 82%)
CMYKcmyk(0%, 13.9%, 72.6%, 18.4%)
CIE-LABlab(73.51, -2.37, 62.67)
CIE-LCHlch(73.51, 62.72, 92.16°)
OKLaboklab(77.09% -0.0128 0.1387)
OKLCHoklch(77.09% 0.139 95.3)
XYZxyz(42.8733, 45.9478, 10.4807)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B339 #3956D0
analogous
#D06839 #D0B339 #A2D039
triadic
#D0B339 #39D0B3 #B339D0
tetradic
#D0B339 #39D068 #3956D0 #D039A2
square
#D0B339 #39D068 #3956D0 #D039A2
split-complementary
#D0B339 #39A2D0 #6839D0
monochromatic
#73621B #A58D27 #D0B339 #DCC66A #E7D99C

Accessibility & contrast

On white

2.06
#D0B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#D0B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B339
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B339#FFFFFF#000000##000000
##D0B3391.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF25
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#E1A59B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d0b339;
/* rgb */ color: rgb(208, 179, 57);
/* oklch */ color: oklch(77.1% 0.139 95.3);
Tailwind
colors: {
  custom: {
    50: '#e2c977',
    500: '#d0b339',
    950: '#000000',
  },
}
SCSS
$custom: #d0b339;
$custom-light: #e2c977;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b339",
  "rgb": {
    "r": 208,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 48.477,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77091,
    "c": 0.13928,
    "h": 95.3
  },
  "luminance": 0.45946
}

Semantic roles & 50–950 ramp

primary
#D0B339
secondary
#919ED3
accent
#62E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B339

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

Preview Lab → · Contrast checker → · Palette generator →

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