#D0B933#D0B933

#D0B933 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.147 H 99.0°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D0B933
RGBrgb(208, 185, 51)
HSLhsl(51, 63%, 51%)
HSVhsv(51, 75%, 82%)
CMYKcmyk(0%, 11.1%, 75.5%, 18.4%)
CIE-LABlab(75.04, -5.76, 66.29)
CIE-LCHlch(75.04, 66.54, 94.96°)
OKLaboklab(78.29% -0.0231 0.1452)
OKLCHoklch(78.29% 0.147 99)
XYZxyz(43.9611, 48.3490, 10.1481)
Luminance0.4835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B933 #334AD0
analogous
#D06A33 #D0B933 #98D033
triadic
#D0B933 #33D0B9 #B933D0
tetradic
#D0B933 #33D06A #334AD0 #D03398
square
#D0B933 #33D06A #334AD0 #D03398
split-complementary
#D0B933 #3398D0 #6A33D0
monochromatic
#6F631A #A18F25 #D0B933 #DBCA65 #E7DB96

Accessibility & contrast

On white

1.97
#D0B933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#D0B933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B933
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B933#FFFFFF#000000##000000
##D0B9331.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB418
Deuteranopia (green-blind)
#D2BC3C
Tritanopia (blue-blind)
#E0AB9F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d0b933;
/* rgb */ color: rgb(208, 185, 51);
/* oklch */ color: oklch(78.3% 0.147 99.0);
Tailwind
colors: {
  custom: {
    50: '#e3cd75',
    500: '#d0b933',
    950: '#000000',
  },
}
SCSS
$custom: #d0b933;
$custom-light: #e3cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b933",
  "rgb": {
    "r": 208,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 51.21,
    "s": 62.55,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78293,
    "c": 0.14706,
    "h": 99
  },
  "luminance": 0.48347
}

Semantic roles & 50–950 ramp

primary
#D0B933
secondary
#8D97D2
accent
#5AE642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B933

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

Preview Lab → · Contrast checker → · Palette generator →

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