#D0B231#D0B231

#D0B231 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.143 H 95.3°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D0B231
RGBrgb(208, 178, 49)
HSLhsl(49, 63%, 50%)
HSVhsv(49, 76%, 82%)
CMYKcmyk(0%, 14.4%, 76.4%, 18.4%)
CIE-LABlab(73.20, -2.19, 65.27)
CIE-LCHlch(73.20, 65.30, 91.92°)
OKLaboklab(76.83% -0.0131 0.1427)
OKLCHoklch(76.83% 0.143 95.3)
XYZxyz(42.4895, 45.4748, 9.4447)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B231 #314FD0
analogous
#D06231 #D0B231 #9FD031
triadic
#D0B231 #31D0B2 #B231D0
tetradic
#D0B231 #31D062 #314FD0 #D0319F
square
#D0B231 #31D062 #314FD0 #D0319F
split-complementary
#D0B231 #319FD0 #6231D0
monochromatic
#6E5E19 #9F8824 #D0B231 #DBC563 #E7D795

Accessibility & contrast

On white

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

On black

10.09
#D0B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B231
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B231#FFFFFF#000000##000000
##D0B2311.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE17
Deuteranopia (green-blind)
#CDB839
Tritanopia (blue-blind)
#E1A499
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b231;
/* rgb */ color: rgb(208, 178, 49);
/* oklch */ color: oklch(76.8% 0.143 95.3);
Tailwind
colors: {
  custom: {
    50: '#e3c873',
    500: '#d0b231',
    950: '#000000',
  },
}
SCSS
$custom: #d0b231;
$custom-light: #e3c873;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b231",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 48.679,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76832,
    "c": 0.14325,
    "h": 95.3
  },
  "luminance": 0.45472
}

Semantic roles & 50–950 ramp

primary
#D0B231
secondary
#8B98D2
accent
#61E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B231

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

Preview Lab → · Contrast checker → · Palette generator →

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