#D0B43B#D0B43B

#D0B43B is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.139 H 95.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#D0B43B
RGBrgb(208, 180, 59)
HSLhsl(49, 61%, 52%)
HSVhsv(49, 72%, 82%)
CMYKcmyk(0%, 13.5%, 71.6%, 18.4%)
CIE-LABlab(73.79, -2.80, 62.18)
CIE-LCHlch(73.79, 62.24, 92.58°)
OKLaboklab(77.31% -0.0138 0.138)
OKLCHoklch(77.31% 0.139 95.7)
XYZxyz(43.1253, 46.3705, 10.8157)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B43B #3B57D0
analogous
#D06A3B #D0B43B #A1D03B
triadic
#D0B43B #3BD0B4 #B43BD0
tetradic
#D0B43B #3BD06A #3B57D0 #D03BA1
square
#D0B43B #3BD06A #3B57D0 #D03BA1
split-complementary
#D0B43B #3BA1D0 #6A3BD0
monochromatic
#75641C #A68E28 #D0B43B #DCC76C #E8DA9E

Accessibility & contrast

On white

2.04
#D0B43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#D0B43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B43B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B43B#FFFFFF#000000##000000
##D0B43B1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B028
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#E0A69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d0b43b;
/* rgb */ color: rgb(208, 180, 59);
/* oklch */ color: oklch(77.3% 0.139 95.7);
Tailwind
colors: {
  custom: {
    50: '#e2ca78',
    500: '#d0b43b',
    950: '#000000',
  },
}
SCSS
$custom: #d0b43b;
$custom-light: #e2ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b43b",
  "rgb": {
    "r": 208,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 48.725,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77311,
    "c": 0.1387,
    "h": 95.7
  },
  "luminance": 0.46368
}

Semantic roles & 50–950 ramp

primary
#D0B43B
secondary
#939FD4
accent
#62E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B43B

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

Preview Lab → · Contrast checker → · Palette generator →

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