#D7CB5F#D7CB5F

#D7CB5F is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.130 H 103.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D7CB5F
RGBrgb(215, 203, 95)
HSLhsl(54, 60%, 61%)
HSVhsv(54, 56%, 84%)
CMYKcmyk(0%, 5.6%, 55.8%, 15.7%)
CIE-LABlab(80.73, -9.46, 54.42)
CIE-LCHlch(80.73, 55.23, 99.86°)
OKLaboklab(83.06% -0.0292 0.1267)
OKLCHoklch(83.06% 0.13 103)
XYZxyz(51.4475, 57.9870, 19.3068)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB5F #5F6BD7
analogous
#D78F5F #D7CB5F #A7D75F
triadic
#D7CB5F #5FD7CB #CB5FD7
tetradic
#D7CB5F #5FD78F #5F6BD7 #D75FA7
square
#D7CB5F #5FD78F #5F6BD7 #D75FA7
split-complementary
#D7CB5F #5FA7D7 #8F5FD7
monochromatic
#968B26 #C7B832 #D7CB5F #E3DB90 #EFEBC1

Accessibility & contrast

On white

1.67
#D7CB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#D7CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB5F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB5F#FFFFFF#000000##000000
##D7CB5F1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC554
Deuteranopia (green-blind)
#DFCB64
Tritanopia (blue-blind)
#E5BFB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb5f;
/* rgb */ color: rgb(215, 203, 95);
/* oklch */ color: oklch(83.1% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#e6da90',
    500: '#d7cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb5f;
$custom-light: #e6da90;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb5f",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 54,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83063,
    "c": 0.12998,
    "h": 103
  },
  "luminance": 0.57985
}

Semantic roles & 50–950 ramp

primary
#D7CB5F
secondary
#3F489B
accent
#2FC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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