#D0B23B#D0B23B

#D0B23B is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.137 H 94.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#D0B23B
RGBrgb(208, 178, 59)
HSLhsl(48, 61%, 52%)
HSVhsv(48, 72%, 82%)
CMYKcmyk(0%, 14.4%, 71.6%, 18.4%)
CIE-LABlab(73.26, -1.75, 61.66)
CIE-LCHlch(73.26, 61.69, 91.62°)
OKLaboklab(76.9% -0.0108 0.1369)
OKLCHoklch(76.9% 0.137 94.5)
XYZxyz(42.7245, 45.5688, 10.6821)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B23B #3B59D0
analogous
#D0673B #D0B23B #A4D03B
triadic
#D0B23B #3BD0B2 #B23BD0
tetradic
#D0B23B #3BD067 #3B59D0 #D03BA4
square
#D0B23B #3BD067 #3B59D0 #D03BA4
split-complementary
#D0B23B #3BA4D0 #673BD0
monochromatic
#75631C #A68D28 #D0B23B #DCC56C #E8D99E

Accessibility & contrast

On white

2.08
#D0B23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#D0B23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B23B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B23B#FFFFFF#000000##000000
##D0B23B1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF29
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#E1A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b23b;
/* rgb */ color: rgb(208, 178, 59);
/* oklch */ color: oklch(76.9% 0.137 94.5);
Tailwind
colors: {
  custom: {
    50: '#e2c878',
    500: '#d0b23b',
    950: '#000000',
  },
}
SCSS
$custom: #d0b23b;
$custom-light: #e2c878;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b23b",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 47.919,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.769,
    "c": 0.13735,
    "h": 94.5
  },
  "luminance": 0.45566
}

Semantic roles & 50–950 ramp

primary
#D0B23B
secondary
#93A0D4
accent
#64E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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