#CDC161#CDC161

#CDC161 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.119 H 102.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CDC161
RGBrgb(205, 193, 97)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 53%, 80%)
CMYKcmyk(0%, 5.9%, 52.7%, 19.6%)
CIE-LABlab(77.27, -8.32, 49.25)
CIE-LCHlch(77.27, 49.95, 99.58°)
OKLaboklab(80.12% -0.0251 0.1159)
OKLCHoklch(80.12% 0.119 102.2)
XYZxyz(46.4059, 51.9837, 18.8963)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC161 #616DCD
analogous
#CD8B61 #CDC161 #A3CD61
triadic
#CDC161 #61CDC1 #C161CD
tetradic
#CDC161 #61CD8B #616DCD #CD61A3
square
#CDC161 #61CD8B #616DCD #CD61A3
split-complementary
#CDC161 #61A3CD #8B61CD
monochromatic
#887E2B #B7A93A #CDC161 #DCD38F #EAE5BE

Accessibility & contrast

On white

1.84
#CDC161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CDC161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC161
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC161#FFFFFF#000000##000000
##CDC1611.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC58
Deuteranopia (green-blind)
#D4C166
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc161;
/* rgb */ color: rgb(205, 193, 97);
/* oklch */ color: oklch(80.1% 0.119 102.2);
Tailwind
colors: {
  custom: {
    50: '#ded390',
    500: '#cdc161',
    950: '#000000',
  },
}
SCSS
$custom: #cdc161;
$custom-light: #ded390;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc161",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 53.333,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80119,
    "c": 0.11857,
    "h": 102.2
  },
  "luminance": 0.51982
}

Semantic roles & 50–950 ramp

primary
#CDC161
secondary
#434B8F
accent
#5CDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC161

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

Preview Lab → · Contrast checker → · Palette generator →

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