#CDC06B#CDC06B

#CDC06B is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.108 H 100.7°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CDC06B
RGBrgb(205, 192, 107)
HSLhsl(52, 49%, 61%)
HSVhsv(52, 48%, 80%)
CMYKcmyk(0%, 6.3%, 47.8%, 19.6%)
CIE-LABlab(77.13, -6.91, 44.22)
CIE-LCHlch(77.13, 44.75, 98.89°)
OKLaboklab(80.04% -0.02 0.1057)
OKLCHoklch(80.04% 0.108 100.7)
XYZxyz(46.6816, 51.7415, 21.4352)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC06B #6B78CD
analogous
#CD8F6B #CDC06B #A9CD6B
triadic
#CDC06B #6BCDC0 #C06BCD
tetradic
#CDC06B #6BCD8F #6B78CD #CD6BA9
square
#CDC06B #6BCD8F #6B78CD #CD6BA9
split-complementary
#CDC06B #6BA9CD #8F6BCD
monochromatic
#8E8130 #BBAB3F #CDC06B #DCD399 #ECE7C6

Accessibility & contrast

On white

1.85
#CDC06B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CDC06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC06B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC06B#FFFFFF#000000##000000
##CDC06B1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB64
Deuteranopia (green-blind)
#D2C16F
Tritanopia (blue-blind)
#DAB5AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc06b;
/* rgb */ color: rgb(205, 192, 107);
/* oklch */ color: oklch(80.0% 0.108 100.7);
Tailwind
colors: {
  custom: {
    50: '#ded297',
    500: '#cdc06b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc06b;
$custom-light: #ded297;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc06b",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 107
  },
  "hsl": {
    "h": 52.041,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80043,
    "c": 0.10757,
    "h": 100.7
  },
  "luminance": 0.5174
}

Semantic roles & 50–950 ramp

primary
#CDC06B
secondary
#485294
accent
#3CBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC06B

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

Preview Lab → · Contrast checker → · Palette generator →

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