#D2B23D#D2B23D

#D2B23D is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.136 H 93.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#D2B23D
RGBrgb(210, 178, 61)
HSLhsl(47, 62%, 53%)
HSVhsv(47, 71%, 82%)
CMYKcmyk(0%, 15.2%, 71%, 17.6%)
CIE-LABlab(73.47, -0.79, 61.14)
CIE-LCHlch(73.47, 61.15, 90.74°)
OKLaboklab(77.11% -0.008 0.1361)
OKLCHoklch(77.11% 0.136 93.4)
XYZxyz(43.3433, 45.8818, 10.9871)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B23D #3D5DD2
analogous
#D2673D #D2B23D #A7D23D
triadic
#D2B23D #3DD2B2 #B23DD2
tetradic
#D2B23D #3DD267 #3D5DD2 #D23DA7
square
#D2B23D #3DD267 #3D5DD2 #D23DA7
split-complementary
#D2B23D #3DA7D2 #673DD2
monochromatic
#79651C #AA8E28 #D2B23D #DEC66F #E9D9A0

Accessibility & contrast

On white

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

On black

10.18
#D2B23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B23D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B23D#FFFFFF#000000##000000
##D2B23D1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2C
Deuteranopia (green-blind)
#CDB843
Tritanopia (blue-blind)
#E3A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b23d;
/* rgb */ color: rgb(210, 178, 61);
/* oklch */ color: oklch(77.1% 0.136 93.4);
Tailwind
colors: {
  custom: {
    50: '#e4c879',
    500: '#d2b23d',
    950: '#000000',
  },
}
SCSS
$custom: #d2b23d;
$custom-light: #e4c879;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b23d",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 47.114,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7711,
    "c": 0.13635,
    "h": 93.4
  },
  "luminance": 0.45879
}

Semantic roles & 50–950 ramp

primary
#D2B23D
secondary
#95A3D6
accent
#65E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B23D

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

Preview Lab → · Contrast checker → · Palette generator →

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