#D7C93F#D7C93F

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

Color values

HEX#D7C93F
RGBrgb(215, 201, 63)
HSLhsl(54, 66%, 55%)
HSVhsv(54, 71%, 84%)
CMYKcmyk(0%, 6.5%, 70.7%, 15.7%)
CIE-LABlab(79.94, -10.43, 66.94)
CIE-LCHlch(79.94, 67.75, 98.86°)
OKLaboklab(82.35% -0.0355 0.1485)
OKLCHoklch(82.35% 0.153 103.4)
XYZxyz(49.8103, 56.5813, 12.9992)
Luminance0.5658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C93F #3F4DD7
analogous
#D77D3F #D7C93F #99D73F
triadic
#D7C93F #3FD7C9 #C93FD7
tetradic
#D7C93F #3FD77D #3F4DD7 #D73F99
square
#D7C93F #3FD77D #3F4DD7 #D73F99
split-complementary
#D7C93F #3F99D7 #7D3FD7
monochromatic
#81771B #B3A625 #D7C93F #E2D772 #ECE5A4

Accessibility & contrast

On white

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

On black

12.32
#D7C93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C93F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C93F#FFFFFF#000000##000000
##D7C93F1.001.7112.3212.32
#FFFFFF1.711.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c93f;
/* rgb */ color: rgb(215, 201, 63);
/* oklch */ color: oklch(82.4% 0.153 103.4);
Tailwind
colors: {
  custom: {
    50: '#e7d97d',
    500: '#d7c93f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c93f;
$custom-light: #e7d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c93f",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 54.474,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82353,
    "c": 0.15273,
    "h": 103.4
  },
  "luminance": 0.56579
}

Semantic roles & 50–950 ramp

primary
#D7C93F
secondary
#323A88
accent
#4FE83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D7C93F

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

Preview Lab → · Contrast checker → · Palette generator →

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