#CDC068#CDC068

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

Color values

HEX#CDC068
RGBrgb(205, 192, 104)
HSLhsl(52, 50%, 61%)
HSVhsv(52, 49%, 80%)
CMYKcmyk(0%, 6.3%, 49.3%, 19.6%)
CIE-LABlab(77.09, -7.19, 45.65)
CIE-LCHlch(77.09, 46.21, 98.95°)
OKLaboklab(80% -0.0211 0.1086)
OKLCHoklch(80% 0.111 101)
XYZxyz(46.5265, 51.6795, 20.6183)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC068 #6875CD
analogous
#CD8D68 #CDC068 #A7CD68
triadic
#CDC068 #68CDC0 #C068CD
tetradic
#CDC068 #68CD8D #6875CD #CD68A7
square
#CDC068 #68CD8D #6875CD #CD68A7
split-complementary
#CDC068 #68A7CD #8D68CD
monochromatic
#8C802E #BAAA3E #CDC068 #DCD396 #EBE6C4

Accessibility & contrast

On white

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

On black

11.34
#CDC068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC068
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC068#FFFFFF#000000##000000
##CDC0681.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB60
Deuteranopia (green-blind)
#D2C16C
Tritanopia (blue-blind)
#DAB5AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc068;
/* rgb */ color: rgb(205, 192, 104);
/* oklch */ color: oklch(80.0% 0.111 101.0);
Tailwind
colors: {
  custom: {
    50: '#ded295',
    500: '#cdc068',
    950: '#000000',
  },
}
SCSS
$custom: #cdc068;
$custom-light: #ded295;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc068",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 104
  },
  "hsl": {
    "h": 52.277,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80001,
    "c": 0.11066,
    "h": 101
  },
  "luminance": 0.51678
}

Semantic roles & 50–950 ramp

primary
#CDC068
secondary
#465093
accent
#3BBE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC068

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

Preview Lab → · Contrast checker → · Palette generator →

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