#D2B23E#D2B23E

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

Color values

HEX#D2B23E
RGBrgb(210, 178, 62)
HSLhsl(47, 62%, 53%)
HSVhsv(47, 70%, 82%)
CMYKcmyk(0%, 15.2%, 70.5%, 17.6%)
CIE-LABlab(73.48, -0.74, 60.75)
CIE-LCHlch(73.48, 60.76, 90.69°)
OKLaboklab(77.12% -0.0077 0.1355)
OKLCHoklch(77.12% 0.136 93.3)
XYZxyz(43.3705, 45.8927, 11.1303)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B23E #3E5ED2
analogous
#D2683E #D2B23E #A8D23E
triadic
#D2B23E #3ED2B2 #B23ED2
tetradic
#D2B23E #3ED268 #3E5ED2 #D23EA8
square
#D2B23E #3ED268 #3E5ED2 #D23EA8
split-complementary
#D2B23E #3EA8D2 #683ED2
monochromatic
#79651C #AB8F28 #D2B23E #DEC670 #E9DAA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B23E#FFFFFF#000000##000000
##D2B23E1.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)
#C5AF2D
Deuteranopia (green-blind)
#CDB844
Tritanopia (blue-blind)
#E3A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b23e;
/* rgb */ color: rgb(210, 178, 62);
/* oklch */ color: oklch(77.1% 0.136 93.3);
Tailwind
colors: {
  custom: {
    50: '#e4c87a',
    500: '#d2b23e',
    950: '#000000',
  },
}
SCSS
$custom: #d2b23e;
$custom-light: #e4c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b23e",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 47.027,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77117,
    "c": 0.13569,
    "h": 93.3
  },
  "luminance": 0.4589
}

Semantic roles & 50–950 ramp

primary
#D2B23E
secondary
#96A4D6
accent
#66E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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