#D2B758#D2B758

#D2B758 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.4% C 0.119 H 93.6°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#D2B758
RGBrgb(210, 183, 88)
HSLhsl(47, 58%, 58%)
HSVhsv(47, 58%, 82%)
CMYKcmyk(0%, 12.9%, 58.1%, 17.6%)
CIE-LABlab(75.00, -1.74, 50.99)
CIE-LCHlch(75.00, 51.02, 91.96°)
OKLaboklab(78.39% -0.0075 0.1186)
OKLCHoklch(78.39% 0.119 93.6)
XYZxyz(45.2752, 48.2754, 16.1639)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B758 #5873D2
analogous
#D27A58 #D2B758 #B0D258
triadic
#D2B758 #58D2B7 #B758D2
tetradic
#D2B758 #58D27A #5873D2 #D258B0
square
#D2B758 #58D27A #5873D2 #D258B0
split-complementary
#D2B758 #58B0D2 #7A58D2
monochromatic
#8A7425 #BB9C32 #D2B758 #DFCC88 #ECE1B8

Accessibility & contrast

On white

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

On black

10.65
#D2B758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B758
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B758#FFFFFF#000000##000000
##D2B7581.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44F
Deuteranopia (green-blind)
#CFBC5C
Tritanopia (blue-blind)
#E1ABA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b758;
/* rgb */ color: rgb(210, 183, 88);
/* oklch */ color: oklch(78.4% 0.119 93.6);
Tailwind
colors: {
  custom: {
    50: '#e3cc8a',
    500: '#d2b758',
    950: '#000000',
  },
}
SCSS
$custom: #d2b758;
$custom-light: #e3cc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b758",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 46.721,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78393,
    "c": 0.11882,
    "h": 93.6
  },
  "luminance": 0.48273
}

Semantic roles & 50–950 ramp

primary
#D2B758
secondary
#ABB5DB
accent
#69E147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B758

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

Preview Lab → · Contrast checker → · Palette generator →

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