#D7CA4B#D7CA4B

#D7CA4B is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.145 H 103.5°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D7CA4B
RGBrgb(215, 202, 75)
HSLhsl(54, 64%, 57%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 6%, 65.1%, 15.7%)
CIE-LABlab(80.29, -10.30, 62.63)
CIE-LCHlch(80.29, 63.48, 99.34°)
OKLaboklab(82.66% -0.0338 0.1415)
OKLCHoklch(82.66% 0.145 103.5)
XYZxyz(50.4168, 57.1981, 15.0399)
Luminance0.5720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA4B #4B58D7
analogous
#D7844B #D7CA4B #9ED74B
triadic
#D7CA4B #4BD7CA #CA4BD7
tetradic
#D7CA4B #4BD784 #4B58D7 #D74B9E
square
#D7CA4B #4BD784 #4B58D7 #D74B9E
split-complementary
#D7CA4B #4B9ED7 #844BD7
monochromatic
#897F1E #BBAE2A #D7CA4B #E2D97D #EDE7AF

Accessibility & contrast

On white

1.69
#D7CA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#D7CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA4B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA4B#FFFFFF#000000##000000
##D7CA4B1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43A
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#E7BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca4b;
/* rgb */ color: rgb(215, 202, 75);
/* oklch */ color: oklch(82.7% 0.145 103.5);
Tailwind
colors: {
  custom: {
    50: '#e7d983',
    500: '#d7ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca4b;
$custom-light: #e7d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca4b",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 54.429,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82656,
    "c": 0.14544,
    "h": 103.5
  },
  "luminance": 0.57196
}

Semantic roles & 50–950 ramp

primary
#D7CA4B
secondary
#373F8F
accent
#51E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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