#D2B440#D2B440

#D2B440 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.136 H 94.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D2B440
RGBrgb(210, 180, 64)
HSLhsl(48, 62%, 54%)
HSVhsv(48, 70%, 82%)
CMYKcmyk(0%, 14.3%, 69.5%, 17.6%)
CIE-LABlab(74.01, -1.68, 60.49)
CIE-LCHlch(74.01, 60.51, 91.59°)
OKLaboklab(77.54% -0.0102 0.1353)
OKLCHoklch(77.54% 0.136 94.3)
XYZxyz(43.8272, 46.7167, 11.5582)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B440 #405ED2
analogous
#D26B40 #D2B440 #A7D240
triadic
#D2B440 #40D2B4 #B440D2
tetradic
#D2B440 #40D26B #405ED2 #D240A7
square
#D2B440 #40D26B #405ED2 #D240A7
split-complementary
#D2B440 #40A7D2 #6B40D2
monochromatic
#7B671D #AC9129 #D2B440 #DEC772 #E9DBA3

Accessibility & contrast

On white

2.03
#D2B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D2B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B440
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B440#FFFFFF#000000##000000
##D2B4401.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B130
Deuteranopia (green-blind)
#CEBA46
Tritanopia (blue-blind)
#E3A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d2b440;
/* rgb */ color: rgb(210, 180, 64);
/* oklch */ color: oklch(77.5% 0.136 94.3);
Tailwind
colors: {
  custom: {
    50: '#e4ca7b',
    500: '#d2b440',
    950: '#000000',
  },
}
SCSS
$custom: #d2b440;
$custom-light: #e4ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b440",
  "rgb": {
    "r": 210,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 47.671,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77543,
    "c": 0.13564,
    "h": 94.3
  },
  "luminance": 0.46714
}

Semantic roles & 50–950 ramp

primary
#D2B440
secondary
#98A5D6
accent
#64E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B440

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

Preview Lab → · Contrast checker → · Palette generator →

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