#CDC388#CDC388

#CDC388 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.078 H 99.7°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CDC388
RGBrgb(205, 195, 136)
HSLhsl(51, 41%, 67%)
HSVhsv(51, 34%, 80%)
CMYKcmyk(0%, 4.9%, 33.7%, 19.6%)
CIE-LABlab(78.34, -5.34, 30.96)
CIE-LCHlch(78.34, 31.42, 99.78°)
OKLaboklab(81.14% -0.0132 0.077)
OKLCHoklch(81.14% 0.078 99.7)
XYZxyz(49.1365, 53.7881, 31.0815)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC388 #8892CD
analogous
#CDA188 #CDC388 #B5CD88
triadic
#CDC388 #88CDC3 #C388CD
tetradic
#CDC388 #88CDA1 #8892CD #CD88B5
square
#CDC388 #88CDA1 #8892CD #CD88B5
split-complementary
#CDC388 #88B5CD #A188CD
monochromatic
#9A8D41 #BBAD5D #CDC388 #DFD9B3 #F1EEDE

Accessibility & contrast

On white

1.79
#CDC388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CDC388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC388
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC388#FFFFFF#000000##000000
##CDC3881.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF84
Deuteranopia (green-blind)
#D1C48A
Tritanopia (blue-blind)
#D7BBB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc388;
/* rgb */ color: rgb(205, 195, 136);
/* oklch */ color: oklch(81.1% 0.078 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddd5ab',
    500: '#cdc388',
    950: '#000000',
  },
}
SCSS
$custom: #cdc388;
$custom-light: #ddd5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc388",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 136
  },
  "hsl": {
    "h": 51.304,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8114,
    "c": 0.07808,
    "h": 99.7
  },
  "luminance": 0.53787
}

Semantic roles & 50–950 ramp

primary
#CDC388
secondary
#5963A0
accent
#45B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC388

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

Preview Lab → · Contrast checker → · Palette generator →

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