#D2B23C#D2B23C

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

Color values

HEX#D2B23C
RGBrgb(210, 178, 60)
HSLhsl(47, 63%, 53%)
HSVhsv(47, 71%, 82%)
CMYKcmyk(0%, 15.2%, 71.4%, 17.6%)
CIE-LABlab(73.46, -0.83, 61.53)
CIE-LCHlch(73.46, 61.54, 90.78°)
OKLaboklab(77.1% -0.0082 0.1368)
OKLCHoklch(77.1% 0.137 93.4)
XYZxyz(43.3166, 45.8711, 10.8465)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B23C #3C5CD2
analogous
#D2673C #D2B23C #A7D23C
triadic
#D2B23C #3CD2B2 #B23CD2
tetradic
#D2B23C #3CD267 #3C5CD2 #D23CA7
square
#D2B23C #3CD267 #3C5CD2 #D23CA7
split-complementary
#D2B23C #3CA7D2 #673CD2
monochromatic
#78641C #AA8E27 #D2B23C #DDC66E #E9D99F

Accessibility & contrast

On white

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

On black

10.17
#D2B23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B23C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B23C#FFFFFF#000000##000000
##D2B23C1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2b23c;
/* rgb */ color: rgb(210, 178, 60);
/* oklch */ color: oklch(77.1% 0.137 93.4);
Tailwind
colors: {
  custom: {
    50: '#e4c879',
    500: '#d2b23c',
    950: '#000000',
  },
}
SCSS
$custom: #d2b23c;
$custom-light: #e4c879;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b23c",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 47.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77102,
    "c": 0.137,
    "h": 93.4
  },
  "luminance": 0.45869
}

Semantic roles & 50–950 ramp

primary
#D2B23C
secondary
#94A2D5
accent
#65E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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