#CDC76B#CDC76B

#CDC76B is a light, moderate yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.115 H 105.3°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CDC76B
RGBrgb(205, 199, 107)
HSLhsl(56, 49%, 61%)
HSVhsv(56, 48%, 80%)
CMYKcmyk(0%, 2.9%, 47.8%, 19.6%)
CIE-LABlab(78.98, -10.51, 46.47)
CIE-LCHlch(78.98, 47.64, 102.74°)
OKLaboklab(81.51% -0.0304 0.1107)
OKLCHoklch(81.51% 0.115 105.3)
XYZxyz(48.2553, 54.8889, 21.9597)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC76B #6B71CD
analogous
#CD966B #CDC76B #A2CD6B
triadic
#CDC76B #6BCDC7 #C76BCD
tetradic
#CDC76B #6BCD96 #6B71CD #CD6BA2
square
#CDC76B #6BCD96 #6B71CD #CD6BA2
split-complementary
#CDC76B #6BA2CD #966BCD
monochromatic
#8E8830 #BBB43F #CDC76B #DCD899 #ECEAC6

Accessibility & contrast

On white

1.75
#CDC76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CDC76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC76B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC76B#FFFFFF#000000##000000
##CDC76B1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C163
Deuteranopia (green-blind)
#D7C66F
Tritanopia (blue-blind)
#D9BCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc76b;
/* rgb */ color: rgb(205, 199, 107);
/* oklch */ color: oklch(81.5% 0.115 105.3);
Tailwind
colors: {
  custom: {
    50: '#ded797',
    500: '#cdc76b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc76b;
$custom-light: #ded797;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc76b",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 107
  },
  "hsl": {
    "h": 56.327,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81512,
    "c": 0.11476,
    "h": 105.3
  },
  "luminance": 0.54888
}

Semantic roles & 50–950 ramp

primary
#CDC76B
secondary
#484D94
accent
#32BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC76B

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

Preview Lab → · Contrast checker → · Palette generator →

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