#D0B835#D0B835

#D0B835 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.145 H 98.4°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D0B835
RGBrgb(208, 184, 53)
HSLhsl(51, 62%, 51%)
HSVhsv(51, 75%, 82%)
CMYKcmyk(0%, 11.5%, 74.5%, 18.4%)
CIE-LABlab(74.79, -5.16, 65.36)
CIE-LCHlch(74.79, 65.57, 94.51°)
OKLaboklab(78.1% -0.0212 0.1436)
OKLCHoklch(78.1% 0.145 98.4)
XYZxyz(43.7977, 47.9501, 10.3158)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B835 #354DD0
analogous
#D06A35 #D0B835 #9AD035
triadic
#D0B835 #35D0B8 #B835D0
tetradic
#D0B835 #35D06A #354DD0 #D0359A
square
#D0B835 #35D06A #354DD0 #D0359A
split-complementary
#D0B835 #359AD0 #6A35D0
monochromatic
#70631A #A28F26 #D0B835 #DCC967 #E7DB98

Accessibility & contrast

On white

1.98
#D0B835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#D0B835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B835
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B835#FFFFFF#000000##000000
##D0B8351.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31C
Deuteranopia (green-blind)
#D1BC3E
Tritanopia (blue-blind)
#E0AA9F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d0b835;
/* rgb */ color: rgb(208, 184, 53);
/* oklch */ color: oklch(78.1% 0.145 98.4);
Tailwind
colors: {
  custom: {
    50: '#e2cc76',
    500: '#d0b835',
    950: '#000000',
  },
}
SCSS
$custom: #d0b835;
$custom-light: #e2cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b835",
  "rgb": {
    "r": 208,
    "g": 184,
    "b": 53
  },
  "hsl": {
    "h": 50.71,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78098,
    "c": 0.14519,
    "h": 98.4
  },
  "luminance": 0.47948
}

Semantic roles & 50–950 ramp

primary
#D0B835
secondary
#8E99D3
accent
#5CE542
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B835

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

Preview Lab → · Contrast checker → · Palette generator →

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