#D7C14B#D7C14B

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

Color values

HEX#D7C14B
RGBrgb(215, 193, 75)
HSLhsl(51, 64%, 57%)
HSVhsv(51, 65%, 84%)
CMYKcmyk(0%, 10.2%, 65.1%, 15.7%)
CIE-LABlab(77.93, -5.70, 60.16)
CIE-LCHlch(77.93, 60.43, 95.41°)
OKLaboklab(80.78% -0.0207 0.1362)
OKLCHoklch(80.78% 0.138 98.7)
XYZxyz(48.3664, 53.0972, 14.3564)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C14B #4B61D7
analogous
#D77B4B #D7C14B #A7D74B
triadic
#D7C14B #4BD7C1 #C14BD7
tetradic
#D7C14B #4BD77B #4B61D7 #D74BA7
square
#D7C14B #4BD77B #4B61D7 #D74BA7
split-complementary
#D7C14B #4BA7D7 #7B4BD7
monochromatic
#89781E #BBA42A #D7C14B #E2D27D #EDE3AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C14B#FFFFFF#000000##000000
##D7C14B1.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)
#D3BC3C
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#E7B3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c14b;
/* rgb */ color: rgb(215, 193, 75);
/* oklch */ color: oklch(80.8% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#e7d383',
    500: '#d7c14b',
    950: '#000000',
  },
}
SCSS
$custom: #d7c14b;
$custom-light: #e7d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c14b",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 50.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80784,
    "c": 0.13779,
    "h": 98.7
  },
  "luminance": 0.53095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C14B

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

Preview Lab → · Contrast checker → · Palette generator →

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