#D2B139#D2B139

#D2B139 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.9% C 0.138 H 93.1°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D2B139
RGBrgb(210, 177, 57)
HSLhsl(47, 63%, 52%)
HSVhsv(47, 73%, 82%)
CMYKcmyk(0%, 15.7%, 72.9%, 17.6%)
CIE-LABlab(73.18, -0.45, 62.42)
CIE-LCHlch(73.18, 62.42, 90.41°)
OKLaboklab(76.88% -0.0075 0.1381)
OKLCHoklch(76.88% 0.138 93.1)
XYZxyz(43.0413, 45.4438, 10.3746)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B139 #395AD2
analogous
#D26539 #D2B139 #A6D239
triadic
#D2B139 #39D2B1 #B139D2
tetradic
#D2B139 #39D265 #395AD2 #D239A6
square
#D2B139 #39D265 #395AD2 #D239A6
split-complementary
#D2B139 #39A6D2 #6539D2
monochromatic
#76621B #A88C26 #D2B139 #DDC56B #E9D89D

Accessibility & contrast

On white

2.08
#D2B139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#D2B139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B139
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B139#FFFFFF#000000##000000
##D2B1391.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#E3A399
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b139;
/* rgb */ color: rgb(210, 177, 57);
/* oklch */ color: oklch(76.9% 0.138 93.1);
Tailwind
colors: {
  custom: {
    50: '#e4c777',
    500: '#d2b139',
    950: '#000000',
  },
}
SCSS
$custom: #d2b139;
$custom-light: #e4c777;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b139",
  "rgb": {
    "r": 210,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 47.059,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76875,
    "c": 0.13826,
    "h": 93.1
  },
  "luminance": 0.45441
}

Semantic roles & 50–950 ramp

primary
#D2B139
secondary
#92A0D5
accent
#65E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B139

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

Preview Lab → · Contrast checker → · Palette generator →

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