#D0B235#D0B235

#D0B235 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.141 H 95.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#D0B235
RGBrgb(208, 178, 53)
HSLhsl(48, 62%, 51%)
HSVhsv(48, 75%, 82%)
CMYKcmyk(0%, 14.4%, 74.5%, 18.4%)
CIE-LABlab(73.23, -2.02, 63.88)
CIE-LCHlch(73.23, 63.91, 91.81°)
OKLaboklab(76.86% -0.0123 0.1405)
OKLCHoklch(76.86% 0.141 95)
XYZxyz(42.5777, 45.5101, 9.9091)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B235 #3553D0
analogous
#D06435 #D0B235 #A0D035
triadic
#D0B235 #35D0B2 #B235D0
tetradic
#D0B235 #35D064 #3553D0 #D035A0
square
#D0B235 #35D064 #3553D0 #D035A0
split-complementary
#D0B235 #35A0D0 #6435D0
monochromatic
#70601A #A28A26 #D0B235 #DCC567 #E7D898

Accessibility & contrast

On white

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

On black

10.10
#D0B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B235
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B235#FFFFFF#000000##000000
##D0B2351.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0b235;
/* rgb */ color: rgb(208, 178, 53);
/* oklch */ color: oklch(76.9% 0.141 95.0);
Tailwind
colors: {
  custom: {
    50: '#e3c875',
    500: '#d0b235',
    950: '#000000',
  },
}
SCSS
$custom: #d0b235;
$custom-light: #e3c875;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b235",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 48.387,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76857,
    "c": 0.14101,
    "h": 95
  },
  "luminance": 0.45508
}

Semantic roles & 50–950 ramp

primary
#D0B235
secondary
#8E9BD3
accent
#62E542
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D0B235

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

Preview Lab → · Contrast checker → · Palette generator →

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