#D7CB46#D7CB46

#D7CB46 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.150 H 104.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D7CB46
RGBrgb(215, 203, 70)
HSLhsl(55, 64%, 56%)
HSVhsv(55, 67%, 84%)
CMYKcmyk(0%, 5.6%, 67.4%, 15.7%)
CIE-LABlab(80.52, -11.09, 64.86)
CIE-LCHlch(80.52, 65.80, 99.70°)
OKLaboklab(82.82% -0.0366 0.1454)
OKLCHoklch(82.82% 0.15 104.1)
XYZxyz(50.4878, 57.6031, 14.2522)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB46 #4652D7
analogous
#D78246 #D7CB46 #9BD746
triadic
#D7CB46 #46D7CB #CB46D7
tetradic
#D7CB46 #46D782 #4652D7 #D7469B
square
#D7CB46 #46D782 #4652D7 #D7469B
split-complementary
#D7CB46 #469BD7 #8246D7
monochromatic
#867D1D #B8AC28 #D7CB46 #E2D978 #EDE7AB

Accessibility & contrast

On white

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

On black

12.52
#D7CB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB46
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB46#FFFFFF#000000##000000
##D7CB461.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC433
Deuteranopia (green-blind)
#E1CB4E
Tritanopia (blue-blind)
#E7BDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb46;
/* rgb */ color: rgb(215, 203, 70);
/* oklch */ color: oklch(82.8% 0.150 104.1);
Tailwind
colors: {
  custom: {
    50: '#e7da81',
    500: '#d7cb46',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb46;
$custom-light: #e7da81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb46",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 55.034,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82824,
    "c": 0.1499,
    "h": 104.1
  },
  "luminance": 0.57601
}

Semantic roles & 50–950 ramp

primary
#D7CB46
secondary
#353C8C
accent
#4EE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CB46

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

Preview Lab → · Contrast checker → · Palette generator →

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