#D2C739#D2C739

#D2C739 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.155 H 104.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D2C739
RGBrgb(210, 199, 57)
HSLhsl(56, 63%, 52%)
HSVhsv(56, 73%, 82%)
CMYKcmyk(0%, 5.2%, 72.9%, 17.6%)
CIE-LABlab(78.95, -11.82, 67.98)
CIE-LCHlch(78.95, 69.00, 99.86°)
OKLaboklab(81.45% -0.0397 0.1499)
OKLCHoklch(81.45% 0.155 104.8)
XYZxyz(47.7423, 54.8458, 11.9416)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C739 #3944D2
analogous
#D27A39 #D2C739 #91D239
triadic
#D2C739 #39D2C7 #C739D2
tetradic
#D2C739 #39D27A #3944D2 #D23991
square
#D2C739 #39D27A #3944D2 #D23991
split-complementary
#D2C739 #3991D2 #7A39D2
monochromatic
#766F1B #A89E26 #D2C739 #DDD56B #E9E39D

Accessibility & contrast

On white

1.75
#D2C739 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D2C739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C739
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C739#FFFFFF#000000##000000
##D2C7391.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01E
Deuteranopia (green-blind)
#DCC643
Tritanopia (blue-blind)
#E2B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c739;
/* rgb */ color: rgb(210, 199, 57);
/* oklch */ color: oklch(81.5% 0.155 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d779',
    500: '#d2c739',
    950: '#000000',
  },
}
SCSS
$custom: #d2c739;
$custom-light: #e4d779;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c739",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 57
  },
  "hsl": {
    "h": 55.686,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81451,
    "c": 0.15503,
    "h": 104.8
  },
  "luminance": 0.54844
}

Semantic roles & 50–950 ramp

primary
#D2C739
secondary
#31377E
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C739

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

Preview Lab → · Contrast checker → · Palette generator →

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