#D7CB2E#D7CB2E

#D7CB2E is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.164 H 104.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D7CB2E
RGBrgb(215, 203, 46)
HSLhsl(56, 68%, 51%)
HSVhsv(56, 79%, 84%)
CMYKcmyk(0%, 5.6%, 78.6%, 15.7%)
CIE-LABlab(80.38, -12.14, 72.95)
CIE-LCHlch(80.38, 73.95, 99.45°)
OKLaboklab(82.67% -0.0418 0.1582)
OKLCHoklch(82.67% 0.164 104.8)
XYZxyz(49.8756, 57.3582, 11.0283)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB2E #2E3AD7
analogous
#D7762E #D7CB2E #8ED72E
triadic
#D7CB2E #2ED7CB #CB2ED7
tetradic
#D7CB2E #2ED776 #2E3AD7 #D72E8E
square
#D7CB2E #2ED776 #2E3AD7 #D72E8E
split-complementary
#D7CB2E #2E8ED7 #762ED7
monochromatic
#746E16 #A89E20 #D7CB2E #E1D861 #EBE595

Accessibility & contrast

On white

1.68
#D7CB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D7CB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB2E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB2E#FFFFFF#000000##000000
##D7CB2E1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC400
Deuteranopia (green-blind)
#E2CA3B
Tritanopia (blue-blind)
#E7BDAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7cb2e;
/* rgb */ color: rgb(215, 203, 46);
/* oklch */ color: oklch(82.7% 0.164 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8da75',
    500: '#d7cb2e',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb2e;
$custom-light: #e8da75;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb2e",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 46
  },
  "hsl": {
    "h": 55.74,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82672,
    "c": 0.16365,
    "h": 104.8
  },
  "luminance": 0.57356
}

Semantic roles & 50–950 ramp

primary
#D7CB2E
secondary
#2C327D
accent
#49EB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D7CB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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