#D2B83E#D2B83E

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

Color values

HEX#D2B83E
RGBrgb(210, 184, 62)
HSLhsl(49, 62%, 53%)
HSVhsv(49, 70%, 82%)
CMYKcmyk(0%, 12.4%, 70.5%, 17.6%)
CIE-LABlab(75.03, -3.88, 62.32)
CIE-LCHlch(75.03, 62.44, 93.56°)
OKLaboklab(78.35% -0.0167 0.1388)
OKLCHoklch(78.35% 0.14 96.9)
XYZxyz(44.5905, 48.3327, 11.5369)
Luminance0.4833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B83E #3E58D2
analogous
#D26E3E #D2B83E #A2D23E
triadic
#D2B83E #3ED2B8 #B83ED2
tetradic
#D2B83E #3ED26E #3E58D2 #D23EA2
square
#D2B83E #3ED26E #3E58D2 #D23EA2
split-complementary
#D2B83E #3EA2D2 #6E3ED2
monochromatic
#79691C #AB9428 #D2B83E #DECA70 #E9DDA1

Accessibility & contrast

On white

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

On black

10.67
#D2B83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B83E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B83E#FFFFFF#000000##000000
##D2B83E1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42C
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#E2AA9F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d2b83e;
/* rgb */ color: rgb(210, 184, 62);
/* oklch */ color: oklch(78.3% 0.140 96.9);
Tailwind
colors: {
  custom: {
    50: '#e4cc7a',
    500: '#d2b83e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b83e;
$custom-light: #e4cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b83e",
  "rgb": {
    "r": 210,
    "g": 184,
    "b": 62
  },
  "hsl": {
    "h": 49.459,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7835,
    "c": 0.13977,
    "h": 96.9
  },
  "luminance": 0.4833
}

Semantic roles & 50–950 ramp

primary
#D2B83E
secondary
#96A1D6
accent
#5FE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B83E

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

Preview Lab → · Contrast checker → · Palette generator →

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