#D7C968#D7C968

#D7C968 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.8% C 0.120 H 101.2°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D7C968
RGBrgb(215, 201, 104)
HSLhsl(52, 58%, 63%)
HSVhsv(52, 52%, 84%)
CMYKcmyk(0%, 6.5%, 51.6%, 15.7%)
CIE-LABlab(80.30, -7.71, 49.70)
CIE-LCHlch(80.30, 50.30, 98.82°)
OKLaboklab(82.76% -0.0232 0.1174)
OKLCHoklch(82.76% 0.12 101.2)
XYZxyz(51.4112, 57.2217, 21.4308)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C968 #6876D7
analogous
#D79168 #D7C968 #AED768
triadic
#D7C968 #68D7C9 #C968D7
tetradic
#D7C968 #68D791 #6876D7 #D768AE
square
#D7C968 #68D791 #6876D7 #D768AE
split-complementary
#D7C968 #68AED7 #9168D7
monochromatic
#9B8D29 #CAB838 #D7C968 #E4DA98 #F1ECC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C968#FFFFFF#000000##000000
##D7C9681.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)
#D8C45F
Deuteranopia (green-blind)
#DDCA6C
Tritanopia (blue-blind)
#E5BDB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c968;
/* rgb */ color: rgb(215, 201, 104);
/* oklch */ color: oklch(82.8% 0.120 101.2);
Tailwind
colors: {
  custom: {
    50: '#e5d995',
    500: '#d7c968',
    950: '#000000',
  },
}
SCSS
$custom: #d7c968;
$custom-light: #e5d995;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c968",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 104
  },
  "hsl": {
    "h": 52.432,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82755,
    "c": 0.11963,
    "h": 101.2
  },
  "luminance": 0.5722
}

Semantic roles & 50–950 ramp

primary
#D7C968
secondary
#434FA0
accent
#35C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C968

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

Preview Lab → · Contrast checker → · Palette generator →

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