#D7CA3C#D7CA3C

#D7CA3C is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.155 H 104.0°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D7CA3C
RGBrgb(215, 202, 60)
HSLhsl(55, 66%, 54%)
HSVhsv(55, 72%, 84%)
CMYKcmyk(0%, 6%, 72.1%, 15.7%)
CIE-LABlab(80.19, -11.08, 68.26)
CIE-LCHlch(80.19, 69.15, 99.22°)
OKLaboklab(82.54% -0.0376 0.1508)
OKLCHoklch(82.54% 0.155 104)
XYZxyz(49.9626, 57.0164, 12.6476)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA3C #3C49D7
analogous
#D77D3C #D7CA3C #97D73C
triadic
#D7CA3C #3CD7CA #CA3CD7
tetradic
#D7CA3C #3CD77D #3C49D7 #D73C97
square
#D7CA3C #3CD77D #3C49D7 #D73C97
split-complementary
#D7CA3C #3C97D7 #7D3CD7
monochromatic
#7F761A #B1A624 #D7CA3C #E1D86F #ECE6A2

Accessibility & contrast

On white

1.69
#D7CA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#D7CA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA3C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA3C#FFFFFF#000000##000000
##D7CA3C1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC323
Deuteranopia (green-blind)
#E0CA46
Tritanopia (blue-blind)
#E7BCAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca3c;
/* rgb */ color: rgb(215, 202, 60);
/* oklch */ color: oklch(82.5% 0.155 104.0);
Tailwind
colors: {
  custom: {
    50: '#e7d97b',
    500: '#d7ca3c',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca3c;
$custom-light: #e7d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca3c",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 54.968,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82542,
    "c": 0.15543,
    "h": 104
  },
  "luminance": 0.57014
}

Semantic roles & 50–950 ramp

primary
#D7CA3C
secondary
#313886
accent
#4DE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7CA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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