#CDC767#CDC767

#CDC767 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.119 H 105.5°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CDC767
RGBrgb(205, 199, 103)
HSLhsl(56, 50%, 60%)
HSVhsv(56, 50%, 80%)
CMYKcmyk(0%, 2.9%, 49.8%, 19.6%)
CIE-LABlab(78.93, -10.87, 48.34)
CIE-LCHlch(78.93, 49.55, 102.67°)
OKLaboklab(81.46% -0.0318 0.1145)
OKLCHoklch(81.46% 0.119 105.5)
XYZxyz(48.0497, 54.8066, 20.8770)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC767 #676DCD
analogous
#CD9467 #CDC767 #A0CD67
triadic
#CDC767 #67CDC7 #C767CD
tetradic
#CDC767 #67CD94 #676DCD #CD67A0
square
#CDC767 #67CD94 #676DCD #CD67A0
split-complementary
#CDC767 #67A0CD #9467CD
monochromatic
#8C862E #BAB23D #CDC767 #DCD895 #EBE9C3

Accessibility & contrast

On white

1.76
#CDC767 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CDC767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC767
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC767#FFFFFF#000000##000000
##CDC7671.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C15E
Deuteranopia (green-blind)
#D8C56C
Tritanopia (blue-blind)
#DABCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc767;
/* rgb */ color: rgb(205, 199, 103);
/* oklch */ color: oklch(81.5% 0.119 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded795',
    500: '#cdc767',
    950: '#000000',
  },
}
SCSS
$custom: #cdc767;
$custom-light: #ded795;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc767",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 103
  },
  "hsl": {
    "h": 56.471,
    "s": 50.495,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81459,
    "c": 0.11879,
    "h": 105.5
  },
  "luminance": 0.54805
}

Semantic roles & 50–950 ramp

primary
#CDC767
secondary
#464A92
accent
#30BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC767

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

Preview Lab → · Contrast checker → · Palette generator →

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