#D2B039#D2B039

#D2B039 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.7% C 0.138 H 92.5°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D2B039
RGBrgb(210, 176, 57)
HSLhsl(47, 63%, 52%)
HSVhsv(47, 73%, 82%)
CMYKcmyk(0%, 16.2%, 72.9%, 17.6%)
CIE-LABlab(72.92, 0.08, 62.16)
CIE-LCHlch(72.92, 62.16, 89.93°)
OKLaboklab(76.67% -0.006 0.1375)
OKLCHoklch(76.67% 0.138 92.5)
XYZxyz(42.8445, 45.0502, 10.3090)
Luminance0.4505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B039 #395BD2
analogous
#D26439 #D2B039 #A7D239
triadic
#D2B039 #39D2B0 #B039D2
tetradic
#D2B039 #39D264 #395BD2 #D239A7
square
#D2B039 #39D264 #395BD2 #D239A7
split-complementary
#D2B039 #39A7D2 #6439D2
monochromatic
#76621B #A88B26 #D2B039 #DDC46B #E9D89D

Accessibility & contrast

On white

2.10
#D2B039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D2B039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B039
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B039#FFFFFF#000000##000000
##D2B0391.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#CCB740
Tritanopia (blue-blind)
#E3A298
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d2b039;
/* rgb */ color: rgb(210, 176, 57);
/* oklch */ color: oklch(76.7% 0.138 92.5);
Tailwind
colors: {
  custom: {
    50: '#e4c777',
    500: '#d2b039',
    950: '#000000',
  },
}
SCSS
$custom: #d2b039;
$custom-light: #e4c777;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b039",
  "rgb": {
    "r": 210,
    "g": 176,
    "b": 57
  },
  "hsl": {
    "h": 46.667,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76671,
    "c": 0.13766,
    "h": 92.5
  },
  "luminance": 0.45048
}

Semantic roles & 50–950 ramp

primary
#D2B039
secondary
#92A1D5
accent
#66E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B039

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

Preview Lab → · Contrast checker → · Palette generator →

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