#D2B24E#D2B24E

#D2B24E is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.3% C 0.124 H 91.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#D2B24E
RGBrgb(210, 178, 78)
HSLhsl(45, 59%, 56%)
HSVhsv(45, 63%, 82%)
CMYKcmyk(0%, 15.2%, 62.9%, 17.6%)
CIE-LABlab(73.61, 0.19, 54.05)
CIE-LCHlch(73.61, 54.05, 89.80°)
OKLaboklab(77.26% -0.0032 0.1238)
OKLCHoklch(77.26% 0.124 91.5)
XYZxyz(43.8760, 46.0949, 13.7924)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B24E #4E6ED2
analogous
#D2704E #D2B24E #B0D24E
triadic
#D2B24E #4ED2B2 #B24ED2
tetradic
#D2B24E #4ED270 #4E6ED2 #D24EB0
square
#D2B24E #4ED270 #4E6ED2 #D24EB0
split-complementary
#D2B24E #4EB0D2 #704ED2
monochromatic
#846C22 #B5942E #D2B24E #DEC77F #EBDCB0

Accessibility & contrast

On white

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

On black

10.22
#D2B24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B24E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B24E#FFFFFF#000000##000000
##D2B24E1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b24e;
/* rgb */ color: rgb(210, 178, 78);
/* oklch */ color: oklch(77.3% 0.124 91.5);
Tailwind
colors: {
  custom: {
    50: '#e3c883',
    500: '#d2b24e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b24e;
$custom-light: #e3c883;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b24e",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 78
  },
  "hsl": {
    "h": 45.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77263,
    "c": 0.12388,
    "h": 91.5
  },
  "luminance": 0.46092
}

Semantic roles & 50–950 ramp

primary
#D2B24E
secondary
#A3B0D9
accent
#6BE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D2B24E

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

Preview Lab → · Contrast checker → · Palette generator →

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