#D2C339#D2C339

#D2C339 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.152 H 103.0°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D2C339
RGBrgb(210, 195, 57)
HSLhsl(54, 63%, 52%)
HSVhsv(54, 73%, 82%)
CMYKcmyk(0%, 7.1%, 72.9%, 17.6%)
CIE-LABlab(77.89, -9.79, 66.97)
CIE-LCHlch(77.89, 67.68, 98.31°)
OKLaboklab(80.61% -0.034 0.1477)
OKLCHoklch(80.61% 0.152 103)
XYZxyz(46.8340, 53.0292, 11.6388)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C339 #3948D2
analogous
#D27739 #D2C339 #94D239
triadic
#D2C339 #39D2C3 #C339D2
tetradic
#D2C339 #39D277 #3948D2 #D23994
square
#D2C339 #39D277 #3948D2 #D23994
split-complementary
#D2C339 #3994D2 #7739D2
monochromatic
#766D1B #A89B26 #D2C339 #DDD26B #E9E19D

Accessibility & contrast

On white

1.81
#D2C339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#D2C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C339
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C339#FFFFFF#000000##000000
##D2C3391.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD20
Deuteranopia (green-blind)
#D9C443
Tritanopia (blue-blind)
#E2B5A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c339;
/* rgb */ color: rgb(210, 195, 57);
/* oklch */ color: oklch(80.6% 0.152 103.0);
Tailwind
colors: {
  custom: {
    50: '#e4d479',
    500: '#d2c339',
    950: '#000000',
  },
}
SCSS
$custom: #d2c339;
$custom-light: #e4d479;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c339",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 54.118,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80607,
    "c": 0.15157,
    "h": 103
  },
  "luminance": 0.53027
}

Semantic roles & 50–950 ramp

primary
#D2C339
secondary
#31397E
accent
#52E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C339

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

Preview Lab → · Contrast checker → · Palette generator →

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