#D7C14C#D7C14C

#D7C14C is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.137 H 98.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D7C14C
RGBrgb(215, 193, 76)
HSLhsl(51, 63%, 57%)
HSVhsv(51, 65%, 84%)
CMYKcmyk(0%, 10.2%, 64.7%, 15.7%)
CIE-LABlab(77.94, -5.64, 59.74)
CIE-LCHlch(77.94, 60.01, 95.39°)
OKLaboklab(80.79% -0.0204 0.1355)
OKLCHoklch(80.79% 0.137 98.6)
XYZxyz(48.4009, 53.1110, 14.5381)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C14C #4C62D7
analogous
#D77C4C #D7C14C #A7D74C
triadic
#D7C14C #4CD7C1 #C14CD7
tetradic
#D7C14C #4CD77C #4C62D7 #D74CA7
square
#D7C14C #4CD77C #4C62D7 #D74CA7
split-complementary
#D7C14C #4CA7D7 #7C4CD7
monochromatic
#8A791F #BCA52A #D7C14C #E2D27E #EDE4B0

Accessibility & contrast

On white

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

On black

11.62
#D7C14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C14C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C14C#FFFFFF#000000##000000
##D7C14C1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c14c;
/* rgb */ color: rgb(215, 193, 76);
/* oklch */ color: oklch(80.8% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#e7d383',
    500: '#d7c14c',
    950: '#000000',
  },
}
SCSS
$custom: #d7c14c;
$custom-light: #e7d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c14c",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 76
  },
  "hsl": {
    "h": 50.504,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80793,
    "c": 0.13702,
    "h": 98.6
  },
  "luminance": 0.53109
}

Semantic roles & 50–950 ramp

primary
#D7C14C
secondary
#374590
accent
#5BE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C14C

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

Preview Lab → · Contrast checker → · Palette generator →

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