#D2B24A#D2B24A

#D2B24A is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.127 H 92.0°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#D2B24A
RGBrgb(210, 178, 74)
HSLhsl(46, 60%, 56%)
HSVhsv(46, 65%, 82%)
CMYKcmyk(0%, 15.2%, 64.8%, 17.6%)
CIE-LABlab(73.57, -0.06, 55.80)
CIE-LCHlch(73.57, 55.80, 90.07°)
OKLaboklab(77.22% -0.0044 0.127)
OKLCHoklch(77.22% 0.127 92)
XYZxyz(43.7369, 46.0392, 13.0600)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B24A #4A6AD2
analogous
#D26E4A #D2B24A #AED24A
triadic
#D2B24A #4AD2B2 #B24AD2
tetradic
#D2B24A #4AD26E #4A6AD2 #D24AAE
square
#D2B24A #4AD26E #4A6AD2 #D24AAE
split-complementary
#D2B24A #4AAED2 #6E4AD2
monochromatic
#816B20 #B2932C #D2B24A #DEC77B #EADCAC

Accessibility & contrast

On white

2.06
#D2B24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#D2B24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B24A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B24A#FFFFFF#000000##000000
##D2B24A1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3E
Deuteranopia (green-blind)
#CCB94F
Tritanopia (blue-blind)
#E2A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d2b24a;
/* rgb */ color: rgb(210, 178, 74);
/* oklch */ color: oklch(77.2% 0.127 92.0);
Tailwind
colors: {
  custom: {
    50: '#e3c881',
    500: '#d2b24a',
    950: '#000000',
  },
}
SCSS
$custom: #d2b24a;
$custom-light: #e3c881;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b24a",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 74
  },
  "hsl": {
    "h": 45.882,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77223,
    "c": 0.12705,
    "h": 92
  },
  "luminance": 0.46037
}

Semantic roles & 50–950 ramp

primary
#D2B24A
secondary
#A0ADD8
accent
#6AE344
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B24A

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

Preview Lab → · Contrast checker → · Palette generator →

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