#CDC084#CDC084

#CDC084 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.080 H 97.4°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CDC084
RGBrgb(205, 192, 132)
HSLhsl(49, 42%, 66%)
HSVhsv(49, 36%, 80%)
CMYKcmyk(0%, 6.3%, 35.6%, 19.6%)
CIE-LABlab(77.49, -4.26, 31.93)
CIE-LCHlch(77.49, 32.21, 97.60°)
OKLaboklab(80.45% -0.0103 0.0791)
OKLCHoklch(80.45% 0.08 97.4)
XYZxyz(48.1921, 52.3457, 29.3904)
Luminance0.5234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC084 #8491CD
analogous
#CD9B84 #CDC084 #B5CD84
triadic
#CDC084 #84CDC0 #C084CD
tetradic
#CDC084 #84CD9B #8491CD #CD84B5
square
#CDC084 #84CD9B #8491CD #CD84B5
split-complementary
#CDC084 #84B5CD #9B84CD
monochromatic
#99883E #BBAA58 #CDC084 #DFD6B0 #F0EDDB

Accessibility & contrast

On white

1.83
#CDC084 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CDC084 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC084
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC084#FFFFFF#000000##000000
##CDC0841.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD80
Deuteranopia (green-blind)
#CFC286
Tritanopia (blue-blind)
#D8B8B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc084;
/* rgb */ color: rgb(205, 192, 132);
/* oklch */ color: oklch(80.4% 0.080 97.4);
Tailwind
colors: {
  custom: {
    50: '#ddd2a8',
    500: '#cdc084',
    950: '#000000',
  },
}
SCSS
$custom: #cdc084;
$custom-light: #ddd2a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc084",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 132
  },
  "hsl": {
    "h": 49.315,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.80446,
    "c": 0.07977,
    "h": 97.4
  },
  "luminance": 0.52344
}

Semantic roles & 50–950 ramp

primary
#CDC084
secondary
#56639F
accent
#48B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC084

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

Preview Lab → · Contrast checker → · Palette generator →

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