#CDC56A#CDC56A

#CDC56A is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.114 H 104.2°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CDC56A
RGBrgb(205, 197, 106)
HSLhsl(55, 50%, 61%)
HSVhsv(55, 48%, 80%)
CMYKcmyk(0%, 3.9%, 48.3%, 19.6%)
CIE-LABlab(78.43, -9.58, 46.30)
CIE-LCHlch(78.43, 47.28, 101.69°)
OKLaboklab(81.08% -0.0278 0.1102)
OKLCHoklch(81.08% 0.114 104.2)
XYZxyz(47.7458, 53.9537, 21.5319)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC56A #6A72CD
analogous
#CD936A #CDC56A #A3CD6A
triadic
#CDC56A #6ACDC5 #C56ACD
tetradic
#CDC56A #6ACD93 #6A72CD #CD6AA3
square
#CDC56A #6ACD93 #6A72CD #CD6AA3
split-complementary
#CDC56A #6AA3CD #936ACD
monochromatic
#8D862F #BBB13F #CDC56A #DCD798 #ECE9C6

Accessibility & contrast

On white

1.78
#CDC56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CDC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC56A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC56A#FFFFFF#000000##000000
##CDC56A1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF62
Deuteranopia (green-blind)
#D6C46E
Tritanopia (blue-blind)
#DABAB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc56a;
/* rgb */ color: rgb(205, 197, 106);
/* oklch */ color: oklch(81.1% 0.114 104.2);
Tailwind
colors: {
  custom: {
    50: '#ded696',
    500: '#cdc56a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc56a;
$custom-light: #ded696;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc56a",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 55.152,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81077,
    "c": 0.11366,
    "h": 104.2
  },
  "luminance": 0.53952
}

Semantic roles & 50–950 ramp

primary
#CDC56A
secondary
#474E94
accent
#34BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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