#D0B652#D0B652

#D0B652 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.123 H 94.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#D0B652
RGBrgb(208, 182, 82)
HSLhsl(48, 57%, 57%)
HSVhsv(48, 61%, 82%)
CMYKcmyk(0%, 12.5%, 60.6%, 18.4%)
CIE-LABlab(74.49, -2.49, 53.16)
CIE-LCHlch(74.49, 53.22, 92.69°)
OKLaboklab(77.93% -0.0103 0.1225)
OKLCHoklch(77.93% 0.123 94.8)
XYZxyz(44.2653, 47.4771, 14.8134)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B652 #526CD0
analogous
#D07752 #D0B652 #ABD052
triadic
#D0B652 #52D0B6 #B652D0
tetradic
#D0B652 #52D077 #526CD0 #D052AB
square
#D0B652 #52D077 #526CD0 #D052AB
split-complementary
#D0B652 #52ABD0 #7752D0
monochromatic
#847024 #B49931 #D0B652 #DDCA82 #EADFB2

Accessibility & contrast

On white

2.00
#D0B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#D0B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B652
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B652#FFFFFF#000000##000000
##D0B6521.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DFA9A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d0b652;
/* rgb */ color: rgb(208, 182, 82);
/* oklch */ color: oklch(77.9% 0.123 94.8);
Tailwind
colors: {
  custom: {
    50: '#e1cb86',
    500: '#d0b652',
    950: '#000000',
  },
}
SCSS
$custom: #d0b652;
$custom-light: #e1cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b652",
  "rgb": {
    "r": 208,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 47.619,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77932,
    "c": 0.12296,
    "h": 94.8
  },
  "luminance": 0.47475
}

Semantic roles & 50–950 ramp

primary
#D0B652
secondary
#A5B0D9
accent
#67E147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B652

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

Preview Lab → · Contrast checker → · Palette generator →

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