#CDC58D#CDC58D

#CDC58D is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.074 H 101.0°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CDC58D
RGBrgb(205, 197, 141)
HSLhsl(53, 39%, 68%)
HSVhsv(53, 31%, 80%)
CMYKcmyk(0%, 3.9%, 31.2%, 19.6%)
CIE-LABlab(78.95, -5.76, 29.16)
CIE-LCHlch(78.95, 29.72, 101.17°)
OKLaboklab(81.65% -0.0141 0.0729)
OKLCHoklch(81.65% 0.074 101)
XYZxyz(49.9513, 54.8358, 33.1472)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC58D #8D95CD
analogous
#CDA58D #CDC58D #B5CD8D
triadic
#CDC58D #8DCDC5 #C58DCD
tetradic
#CDC58D #8DCDA5 #8D95CD #CD8DB5
square
#CDC58D #8DCDA5 #8D95CD #CD8DB5
split-complementary
#CDC58D #8DB5CD #A58DCD
monochromatic
#9B9144 #BAAF62 #CDC58D #E0DBB8 #F2F0E2

Accessibility & contrast

On white

1.75
#CDC58D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CDC58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC58D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC58D#FFFFFF#000000##000000
##CDC58D1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc58d;
/* rgb */ color: rgb(205, 197, 141);
/* oklch */ color: oklch(81.7% 0.074 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddd6ae',
    500: '#cdc58d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc58d;
$custom-light: #ddd6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc58d",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 141
  },
  "hsl": {
    "h": 52.5,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.8165,
    "c": 0.07421,
    "h": 101
  },
  "luminance": 0.54835
}

Semantic roles & 50–950 ramp

primary
#CDC58D
secondary
#5C65A2
accent
#43B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC58D

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

Preview Lab → · Contrast checker → · Palette generator →

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