#D7B652#D7B652

#D7B652 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.124 H 91.0°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D7B652
RGBrgb(215, 182, 82)
HSLhsl(45, 62%, 58%)
HSVhsv(45, 62%, 84%)
CMYKcmyk(0%, 15.3%, 61.9%, 15.7%)
CIE-LABlab(75.15, 0.47, 54.07)
CIE-LCHlch(75.15, 54.07, 89.50°)
OKLaboklab(78.6% -0.0022 0.1243)
OKLCHoklch(78.6% 0.124 91)
XYZxyz(46.2775, 48.5147, 14.9077)
Luminance0.4851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B652 #5273D7
analogous
#D77352 #D7B652 #B5D752
triadic
#D7B652 #52D7B6 #B652D7
tetradic
#D7B652 #52D773 #5273D7 #D752B5
square
#D7B652 #52D773 #5273D7 #D752B5
split-complementary
#D7B652 #52B5D7 #7352D7
monochromatic
#8E7321 #C09B2C #D7B652 #E2CB84 #EEE0B5

Accessibility & contrast

On white

1.96
#D7B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D7B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B652
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B652#FFFFFF#000000##000000
##D7B6521.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#E7A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b652;
/* rgb */ color: rgb(215, 182, 82);
/* oklch */ color: oklch(78.6% 0.124 91.0);
Tailwind
colors: {
  custom: {
    50: '#e7cb86',
    500: '#d7b652',
    950: '#000000',
  },
}
SCSS
$custom: #d7b652;
$custom-light: #e7cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b652",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 45.113,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78602,
    "c": 0.12432,
    "h": 91
  },
  "luminance": 0.48512
}

Semantic roles & 50–950 ramp

primary
#D7B652
secondary
#A8B5DD
accent
#6BE642
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B652

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

Preview Lab → · Contrast checker → · Palette generator →

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