#D2B459#D2B459

#D2B459 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.8% C 0.116 H 91.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#D2B459
RGBrgb(210, 180, 89)
HSLhsl(45, 57%, 59%)
HSVhsv(45, 58%, 82%)
CMYKcmyk(0%, 14.3%, 57.6%, 17.6%)
CIE-LABlab(74.23, -0.09, 49.64)
CIE-LCHlch(74.23, 49.64, 90.11°)
OKLaboklab(77.79% -0.0026 0.1158)
OKLCHoklch(77.79% 0.116 91.3)
XYZxyz(44.7047, 47.0677, 16.1795)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B459 #5977D2
analogous
#D27759 #D2B459 #B3D259
triadic
#D2B459 #59D2B4 #B459D2
tetradic
#D2B459 #59D277 #5977D2 #D259B3
square
#D2B459 #59D277 #5977D2 #D259B3
split-complementary
#D2B459 #59B3D2 #7759D2
monochromatic
#8B7226 #BB9933 #D2B459 #DFCA89 #ECE0B9

Accessibility & contrast

On white

2.02
#D2B459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#D2B459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B459
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B459#FFFFFF#000000##000000
##D2B4591.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B250
Deuteranopia (green-blind)
#CCBA5D
Tritanopia (blue-blind)
#E1A89F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d2b459;
/* rgb */ color: rgb(210, 180, 89);
/* oklch */ color: oklch(77.8% 0.116 91.3);
Tailwind
colors: {
  custom: {
    50: '#e3ca8b',
    500: '#d2b459',
    950: '#000000',
  },
}
SCSS
$custom: #d2b459;
$custom-light: #e3ca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b459",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 89
  },
  "hsl": {
    "h": 45.124,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77793,
    "c": 0.11581,
    "h": 91.3
  },
  "luminance": 0.47065
}

Semantic roles & 50–950 ramp

primary
#D2B459
secondary
#ABB7DB
accent
#6DE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D2B459

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

Preview Lab → · Contrast checker → · Palette generator →

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