#CDC58A#CDC58A

#CDC58A is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.6% C 0.078 H 101.4°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC58A
RGBrgb(205, 197, 138)
HSLhsl(53, 40%, 67%)
HSVhsv(53, 33%, 80%)
CMYKcmyk(0%, 3.9%, 32.7%, 19.6%)
CIE-LABlab(78.90, -6.13, 30.66)
CIE-LCHlch(78.90, 31.27, 101.31°)
OKLaboklab(81.59% -0.0153 0.0763)
OKLCHoklch(81.59% 0.078 101.4)
XYZxyz(49.7311, 54.7478, 31.9875)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC58A #8A92CD
analogous
#CDA48A #CDC58A #B4CD8A
triadic
#CDC58A #8ACDC5 #C58ACD
tetradic
#CDC58A #8ACDA4 #8A92CD #CD8AB4
square
#CDC58A #8ACDA4 #8A92CD #CD8AB4
split-complementary
#CDC58A #8AB4CD #A48ACD
monochromatic
#9B9042 #BBB05F #CDC58A #DFDAB5 #F2F0E0

Accessibility & contrast

On white

1.76
#CDC58A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CDC58A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC58A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC58A#FFFFFF#000000##000000
##CDC58A1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C186
Deuteranopia (green-blind)
#D2C58C
Tritanopia (blue-blind)
#D7BDB6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc58a;
/* rgb */ color: rgb(205, 197, 138);
/* oklch */ color: oklch(81.6% 0.078 101.4);
Tailwind
colors: {
  custom: {
    50: '#ddd6ac',
    500: '#cdc58a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc58a;
$custom-light: #ddd6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc58a",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 138
  },
  "hsl": {
    "h": 52.836,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.81593,
    "c": 0.07783,
    "h": 101.4
  },
  "luminance": 0.54747
}

Semantic roles & 50–950 ramp

primary
#CDC58A
secondary
#5A63A1
accent
#42B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC58A

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

Preview Lab → · Contrast checker → · Palette generator →

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