#D2C34B#D2C34B

#D2C34B is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.139 H 102.2°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D2C34B
RGBrgb(210, 195, 75)
HSLhsl(53, 60%, 56%)
HSVhsv(53, 64%, 82%)
CMYKcmyk(0%, 7.1%, 64.3%, 17.6%)
CIE-LABlab(78.02, -8.84, 60.11)
CIE-LCHlch(78.02, 60.76, 98.36°)
OKLaboklab(80.75% -0.0294 0.1363)
OKLCHoklch(80.75% 0.139 102.2)
XYZxyz(47.3653, 53.2418, 14.4370)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C34B #4B5AD2
analogous
#D27F4B #D2C34B #9DD24B
triadic
#D2C34B #4BD2C3 #C34BD2
tetradic
#D2C34B #4BD27F #4B5AD2 #D24B9D
square
#D2C34B #4BD27F #4B5AD2 #D24B9D
split-complementary
#D2C34B #4B9DD2 #7F4BD2
monochromatic
#827721 #B3A42D #D2C34B #DED37C #EAE4AD

Accessibility & contrast

On white

1.80
#D2C34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D2C34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C34B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C34B#FFFFFF#000000##000000
##D2C34B1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3C
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#E1B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c34b;
/* rgb */ color: rgb(210, 195, 75);
/* oklch */ color: oklch(80.7% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#e3d483',
    500: '#d2c34b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c34b;
$custom-light: #e3d483;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c34b",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 75
  },
  "hsl": {
    "h": 53.333,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80747,
    "c": 0.1394,
    "h": 102.2
  },
  "luminance": 0.5324
}

Semantic roles & 50–950 ramp

primary
#D2C34B
secondary
#384189
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C34B

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

Preview Lab → · Contrast checker → · Palette generator →

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