#D7C33E#D7C33E

#D7C33E is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.148 H 100.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#D7C33E
RGBrgb(215, 195, 62)
HSLhsl(52, 66%, 54%)
HSVhsv(52, 71%, 84%)
CMYKcmyk(0%, 9.3%, 71.2%, 15.7%)
CIE-LABlab(78.36, -7.42, 65.76)
CIE-LCHlch(78.36, 66.18, 96.44°)
OKLaboklab(81.09% -0.0271 0.1459)
OKLCHoklch(81.09% 0.148 100.5)
XYZxyz(48.4112, 53.8273, 12.3962)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C33E #3E52D7
analogous
#D7773E #D7C33E #9FD73E
triadic
#D7C33E #3ED7C3 #C33ED7
tetradic
#D7C33E #3ED777 #3E52D7 #D73E9F
square
#D7C33E #3ED777 #3E52D7 #D73E9F
split-complementary
#D7C33E #3E9FD7 #773ED7
monochromatic
#80731B #B3A025 #D7C33E #E2D371 #ECE3A3

Accessibility & contrast

On white

1.78
#D7C33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#D7C33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C33E
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C33E#FFFFFF#000000##000000
##D7C33E1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD29
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#E7B5A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c33e;
/* rgb */ color: rgb(215, 195, 62);
/* oklch */ color: oklch(81.1% 0.148 100.5);
Tailwind
colors: {
  custom: {
    50: '#e7d47c',
    500: '#d7c33e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c33e;
$custom-light: #e7d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c33e",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 62
  },
  "hsl": {
    "h": 52.157,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81094,
    "c": 0.14837,
    "h": 100.5
  },
  "luminance": 0.53825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C33E

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

Preview Lab → · Contrast checker → · Palette generator →

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