#D2B23B#D2B23B

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

Color values

HEX#D2B23B
RGBrgb(210, 178, 59)
HSLhsl(47, 63%, 53%)
HSVhsv(47, 72%, 82%)
CMYKcmyk(0%, 15.2%, 71.9%, 17.6%)
CIE-LABlab(73.46, -0.88, 61.91)
CIE-LCHlch(73.46, 61.92, 90.82°)
OKLaboklab(77.09% -0.0085 0.1374)
OKLCHoklch(77.09% 0.138 93.5)
XYZxyz(43.2905, 45.8607, 10.7086)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B23B #3B5BD2
analogous
#D2673B #D2B23B #A6D23B
triadic
#D2B23B #3BD2B2 #B23BD2
tetradic
#D2B23B #3BD267 #3B5BD2 #D23BA6
square
#D2B23B #3BD267 #3B5BD2 #D23BA6
split-complementary
#D2B23B #3BA6D2 #673BD2
monochromatic
#77641B #A98D27 #D2B23B #DDC66D #E9D99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2B23B#FFFFFF#000000##000000
##D2B23B1.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)
#C5AF29
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#E3A49A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d2b23b;
/* rgb */ color: rgb(210, 178, 59);
/* oklch */ color: oklch(77.1% 0.138 93.5);
Tailwind
colors: {
  custom: {
    50: '#e4c878',
    500: '#d2b23b',
    950: '#000000',
  },
}
SCSS
$custom: #d2b23b;
$custom-light: #e4c878;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b23b",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 47.285,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77094,
    "c": 0.13764,
    "h": 93.5
  },
  "luminance": 0.45858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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