#CDC56E#CDC56E

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

Color values

HEX#CDC56E
RGBrgb(205, 197, 110)
HSLhsl(55, 49%, 62%)
HSVhsv(55, 46%, 80%)
CMYKcmyk(0%, 3.9%, 46.3%, 19.6%)
CIE-LABlab(78.48, -9.20, 44.39)
CIE-LCHlch(78.48, 45.34, 101.71°)
OKLaboklab(81.13% -0.0263 0.1063)
OKLCHoklch(81.13% 0.11 103.9)
XYZxyz(47.9587, 54.0388, 22.6531)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC56E #6E76CD
analogous
#CD966E #CDC56E #A6CD6E
triadic
#CDC56E #6ECDC5 #C56ECD
tetradic
#CDC56E #6ECD96 #6E76CD #CD6EA6
square
#CDC56E #6ECD96 #6E76CD #CD6EA6
split-complementary
#CDC56E #6EA6CD #966ECD
monochromatic
#8F8731 #BDB241 #CDC56E #DDD79C #ECE9C9

Accessibility & contrast

On white

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

On black

11.81
#CDC56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC56E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC56E#FFFFFF#000000##000000
##CDC56E1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C067
Deuteranopia (green-blind)
#D6C472
Tritanopia (blue-blind)
#D9BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc56e;
/* rgb */ color: rgb(205, 197, 110);
/* oklch */ color: oklch(81.1% 0.110 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded699',
    500: '#cdc56e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc56e;
$custom-light: #ded699;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc56e",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 110
  },
  "hsl": {
    "h": 54.947,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81132,
    "c": 0.10952,
    "h": 103.9
  },
  "luminance": 0.54037
}

Semantic roles & 50–950 ramp

primary
#CDC56E
secondary
#4A5096
accent
#36BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC56E

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

Preview Lab → · Contrast checker → · Palette generator →

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