#D7CA50#D7CA50

#D7CA50 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.142 H 103.2°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D7CA50
RGBrgb(215, 202, 80)
HSLhsl(54, 63%, 58%)
HSVhsv(54, 63%, 84%)
CMYKcmyk(0%, 6%, 62.8%, 15.7%)
CIE-LABlab(80.33, -10.00, 60.60)
CIE-LCHlch(80.33, 61.42, 99.37°)
OKLaboklab(82.7% -0.0324 0.1379)
OKLCHoklch(82.7% 0.142 103.2)
XYZxyz(50.5947, 57.2692, 15.9768)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA50 #505DD7
analogous
#D78650 #D7CA50 #A1D750
triadic
#D7CA50 #50D7CA #CA50D7
tetradic
#D7CA50 #50D786 #505DD7 #D750A1
square
#D7CA50 #50D786 #505DD7 #D750A1
split-complementary
#D7CA50 #50A1D7 #8650D7
monochromatic
#8C8220 #BEB02B #D7CA50 #E2D982 #EEE8B4

Accessibility & contrast

On white

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

On black

12.45
#D7CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA50
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA50#FFFFFF#000000##000000
##D7CA501.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC441
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#E6BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca50;
/* rgb */ color: rgb(215, 202, 80);
/* oklch */ color: oklch(82.7% 0.142 103.2);
Tailwind
colors: {
  custom: {
    50: '#e6d986',
    500: '#d7ca50',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca50;
$custom-light: #e6d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca50",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 54.222,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.827,
    "c": 0.14166,
    "h": 103.2
  },
  "luminance": 0.57267
}

Semantic roles & 50–950 ramp

primary
#D7CA50
secondary
#394292
accent
#52E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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