#D2B839#D2B839

#D2B839 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.143 H 97.2°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#D2B839
RGBrgb(210, 184, 57)
HSLhsl(50, 63%, 52%)
HSVhsv(50, 73%, 82%)
CMYKcmyk(0%, 12.4%, 72.9%, 17.6%)
CIE-LABlab(75.00, -4.12, 64.18)
CIE-LCHlch(75.00, 64.32, 93.67°)
OKLaboklab(78.31% -0.0179 0.1418)
OKLCHoklch(78.31% 0.143 97.2)
XYZxyz(44.4596, 48.2803, 10.8473)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B839 #3953D2
analogous
#D26C39 #D2B839 #9FD239
triadic
#D2B839 #39D2B8 #B839D2
tetradic
#D2B839 #39D26C #3953D2 #D2399F
square
#D2B839 #39D26C #3953D2 #D2399F
split-complementary
#D2B839 #399FD2 #6C39D2
monochromatic
#76661B #A89226 #D2B839 #DDCA6B #E9DC9D

Accessibility & contrast

On white

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

On black

10.66
#D2B839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B839
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B839#FFFFFF#000000##000000
##D2B8391.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB424
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#E3AA9F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b839;
/* rgb */ color: rgb(210, 184, 57);
/* oklch */ color: oklch(78.3% 0.143 97.2);
Tailwind
colors: {
  custom: {
    50: '#e4cc78',
    500: '#d2b839',
    950: '#000000',
  },
}
SCSS
$custom: #d2b839;
$custom-light: #e4cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b839",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 49.804,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78313,
    "c": 0.14294,
    "h": 97.2
  },
  "luminance": 0.48278
}

Semantic roles & 50–950 ramp

primary
#D2B839
secondary
#929DD5
accent
#5EE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B839

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

Preview Lab → · Contrast checker → · Palette generator →

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