#CDD161#CDD161

#CDD161 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.5% C 0.135 H 110.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CDD161
RGBrgb(205, 209, 97)
HSLhsl(62, 55%, 60%)
HSVhsv(62, 54%, 82%)
CMYKcmyk(1.9%, 0%, 53.6%, 18%)
CIE-LABlab(81.54, -16.42, 54.21)
CIE-LCHlch(81.54, 56.64, 106.85°)
OKLaboklab(83.51% -0.0482 0.1266)
OKLCHoklch(83.51% 0.135 110.9)
XYZxyz(50.1361, 59.4442, 20.1398)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD161 #6561D1
analogous
#D19D61 #CDD161 #95D161
triadic
#CDD161 #61CDD1 #D161CD
tetradic
#CDD161 #61D19D #6561D1 #D16195
square
#CDD161 #61D19D #6561D1 #D16195
split-complementary
#CDD161 #6195D1 #9D61D1
monochromatic
#8B8E29 #B9BE37 #CDD161 #DCDF90 #EBEDC0

Accessibility & contrast

On white

1.63
#CDD161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#CDD161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD161
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD161#FFFFFF#000000##000000
##CDD1611.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC956
Deuteranopia (green-blind)
#E0CC67
Tritanopia (blue-blind)
#D9C6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd161;
/* rgb */ color: rgb(205, 209, 97);
/* oklch */ color: oklch(83.5% 0.135 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede91',
    500: '#cdd161',
    950: '#000000',
  },
}
SCSS
$custom: #cdd161;
$custom-light: #dede91;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd161",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 62.143,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.83513,
    "c": 0.13548,
    "h": 110.9
  },
  "luminance": 0.59443
}

Semantic roles & 50–950 ramp

primary
#CDD161
secondary
#454294
accent
#4ADE4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD161

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

Preview Lab → · Contrast checker → · Palette generator →

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