#D7C43E#D7C43E

#D7C43E is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.149 H 101.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D7C43E
RGBrgb(215, 196, 62)
HSLhsl(53, 66%, 54%)
HSVhsv(53, 71%, 84%)
CMYKcmyk(0%, 8.8%, 71.2%, 15.7%)
CIE-LABlab(78.62, -7.93, 66.01)
CIE-LCHlch(78.62, 66.49, 96.85°)
OKLaboklab(81.3% -0.0285 0.1464)
OKLCHoklch(81.3% 0.149 101)
XYZxyz(48.6360, 54.2769, 12.4711)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C43E #3E51D7
analogous
#D7783E #D7C43E #9ED73E
triadic
#D7C43E #3ED7C4 #C43ED7
tetradic
#D7C43E #3ED778 #3E51D7 #D73E9E
square
#D7C43E #3ED778 #3E51D7 #D73E9E
split-complementary
#D7C43E #3E9ED7 #783ED7
monochromatic
#80731B #B3A125 #D7C43E #E2D371 #ECE3A3

Accessibility & contrast

On white

1.77
#D7C43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#D7C43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C43E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C43E#FFFFFF#000000##000000
##D7C43E1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE28
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#E7B6AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c43e;
/* rgb */ color: rgb(215, 196, 62);
/* oklch */ color: oklch(81.3% 0.149 101.0);
Tailwind
colors: {
  custom: {
    50: '#e7d57c',
    500: '#d7c43e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c43e;
$custom-light: #e7d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c43e",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 62
  },
  "hsl": {
    "h": 52.549,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81302,
    "c": 0.14917,
    "h": 101
  },
  "luminance": 0.54275
}

Semantic roles & 50–950 ramp

primary
#D7C43E
secondary
#323D87
accent
#54E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7C43E

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

Preview Lab → · Contrast checker → · Palette generator →

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