#D7C14A#D7C14A

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

Color values

HEX#D7C14A
RGBrgb(215, 193, 74)
HSLhsl(51, 64%, 57%)
HSVhsv(51, 66%, 84%)
CMYKcmyk(0%, 10.2%, 65.6%, 15.7%)
CIE-LABlab(77.92, -5.76, 60.57)
CIE-LCHlch(77.92, 60.84, 95.43°)
OKLaboklab(80.77% -0.021 0.1369)
OKLCHoklch(80.77% 0.139 98.7)
XYZxyz(48.3325, 53.0836, 14.1776)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C14A #4A60D7
analogous
#D77B4A #D7C14A #A7D74A
triadic
#D7C14A #4AD7C1 #C14AD7
tetradic
#D7C14A #4AD77B #4A60D7 #D74AA7
square
#D7C14A #4AD77B #4A60D7 #D74AA7
split-complementary
#D7C14A #4AA7D7 #7B4AD7
monochromatic
#88781E #BBA429 #D7C14A #E2D27C #EDE3AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C14A#FFFFFF#000000##000000
##D7C14A1.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)
#D3BC3B
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#E7B3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c14a;
/* rgb */ color: rgb(215, 193, 74);
/* oklch */ color: oklch(80.8% 0.139 98.7);
Tailwind
colors: {
  custom: {
    50: '#e7d382',
    500: '#d7c14a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c14a;
$custom-light: #e7d382;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c14a",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 74
  },
  "hsl": {
    "h": 50.638,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80775,
    "c": 0.13853,
    "h": 98.7
  },
  "luminance": 0.53081
}

Semantic roles & 50–950 ramp

primary
#D7C14A
secondary
#37448F
accent
#5BE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C14A

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

Preview Lab → · Contrast checker → · Palette generator →

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