#D7C943#D7C943

#D7C943 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.150 H 103.3°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D7C943
RGBrgb(215, 201, 67)
HSLhsl(54, 65%, 55%)
HSVhsv(54, 69%, 84%)
CMYKcmyk(0%, 6.5%, 68.8%, 15.7%)
CIE-LABlab(79.97, -10.23, 65.47)
CIE-LCHlch(79.97, 66.26, 98.88°)
OKLaboklab(82.38% -0.0345 0.1461)
OKLCHoklch(82.38% 0.15 103.3)
XYZxyz(49.9262, 56.6276, 13.6095)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C943 #4351D7
analogous
#D77F43 #D7C943 #9BD743
triadic
#D7C943 #43D7C9 #C943D7
tetradic
#D7C943 #43D77F #4351D7 #D7439B
square
#D7C943 #43D77F #4351D7 #D7439B
split-complementary
#D7C943 #439BD7 #7F43D7
monochromatic
#847A1C #B6A927 #D7C943 #E2D775 #ECE6A8

Accessibility & contrast

On white

1.70
#D7C943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D7C943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C943
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C943#FFFFFF#000000##000000
##D7C9431.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32F
Deuteranopia (green-blind)
#DFC94C
Tritanopia (blue-blind)
#E7BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c943;
/* rgb */ color: rgb(215, 201, 67);
/* oklch */ color: oklch(82.4% 0.150 103.3);
Tailwind
colors: {
  custom: {
    50: '#e7d97f',
    500: '#d7c943',
    950: '#000000',
  },
}
SCSS
$custom: #d7c943;
$custom-light: #e7d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c943",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 54.324,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82382,
    "c": 0.15015,
    "h": 103.3
  },
  "luminance": 0.56626
}

Semantic roles & 50–950 ramp

primary
#D7C943
secondary
#343C8A
accent
#50E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C943

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

Preview Lab → · Contrast checker → · Palette generator →

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