#D7C93E#D7C93E

#D7C93E is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.153 H 103.5°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#D7C93E
RGBrgb(215, 201, 62)
HSLhsl(55, 66%, 54%)
HSVhsv(55, 71%, 84%)
CMYKcmyk(0%, 6.5%, 71.2%, 15.7%)
CIE-LABlab(79.94, -10.48, 67.30)
CIE-LCHlch(79.94, 68.11, 98.85°)
OKLaboklab(82.35% -0.0357 0.1491)
OKLCHoklch(82.35% 0.153 103.5)
XYZxyz(49.7826, 56.5702, 12.8534)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C93E #3E4CD7
analogous
#D77D3E #D7C93E #99D73E
triadic
#D7C93E #3ED7C9 #C93ED7
tetradic
#D7C93E #3ED77D #3E4CD7 #D73E99
square
#D7C93E #3ED77D #3E4CD7 #D73E99
split-complementary
#D7C93E #3E99D7 #7D3ED7
monochromatic
#80771B #B3A625 #D7C93E #E2D771 #ECE5A3

Accessibility & contrast

On white

1.71
#D7C93E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D7C93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C93E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C93E#FFFFFF#000000##000000
##D7C93E1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c93e;
/* rgb */ color: rgb(215, 201, 62);
/* oklch */ color: oklch(82.3% 0.153 103.5);
Tailwind
colors: {
  custom: {
    50: '#e7d97c',
    500: '#d7c93e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c93e;
$custom-light: #e7d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c93e",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 54.51,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82346,
    "c": 0.15336,
    "h": 103.5
  },
  "luminance": 0.56568
}

Semantic roles & 50–950 ramp

primary
#D7C93E
secondary
#323A87
accent
#4FE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D7C93E

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

Preview Lab → · Contrast checker → · Palette generator →

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