#D2B739#D2B739

#D2B739 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.142 H 96.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#D2B739
RGBrgb(210, 183, 57)
HSLhsl(49, 63%, 52%)
HSVhsv(49, 73%, 82%)
CMYKcmyk(0%, 12.9%, 72.9%, 17.6%)
CIE-LABlab(74.74, -3.59, 63.93)
CIE-LCHlch(74.74, 64.03, 93.22°)
OKLaboklab(78.11% -0.0164 0.1413)
OKLCHoklch(78.11% 0.142 96.6)
XYZxyz(44.2526, 47.8664, 10.7783)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B739 #3954D2
analogous
#D26B39 #D2B739 #A0D239
triadic
#D2B739 #39D2B7 #B739D2
tetradic
#D2B739 #39D26B #3954D2 #D239A0
square
#D2B739 #39D26B #3954D2 #D239A0
split-complementary
#D2B739 #39A0D2 #6B39D2
monochromatic
#76661B #A89126 #D2B739 #DDC96B #E9DB9D

Accessibility & contrast

On white

1.99
#D2B739 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#D2B739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B739
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B739#FFFFFF#000000##000000
##D2B7391.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB324
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#E3A99E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d2b739;
/* rgb */ color: rgb(210, 183, 57);
/* oklch */ color: oklch(78.1% 0.142 96.6);
Tailwind
colors: {
  custom: {
    50: '#e4cc78',
    500: '#d2b739',
    950: '#000000',
  },
}
SCSS
$custom: #d2b739;
$custom-light: #e4cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b739",
  "rgb": {
    "r": 210,
    "g": 183,
    "b": 57
  },
  "hsl": {
    "h": 49.412,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78107,
    "c": 0.14223,
    "h": 96.6
  },
  "luminance": 0.47864
}

Semantic roles & 50–950 ramp

primary
#D2B739
secondary
#929ED5
accent
#5FE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B739

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

Preview Lab → · Contrast checker → · Palette generator →

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