#CDC546#CDC546

#CDC546 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.145 H 105.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CDC546
RGBrgb(205, 197, 70)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 66%, 80%)
CMYKcmyk(0%, 3.9%, 65.9%, 19.6%)
CIE-LABlab(78.08, -12.26, 62.10)
CIE-LCHlch(78.08, 63.30, 101.17°)
OKLaboklab(80.69% -0.0394 0.1398)
OKLCHoklch(80.69% 0.145 105.7)
XYZxyz(46.2503, 53.3555, 13.6555)
Luminance0.5335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC546 #464ECD
analogous
#CD8246 #CDC546 #92CD46
triadic
#CDC546 #46CDC5 #C546CD
tetradic
#CDC546 #46CD82 #464ECD #CD4692
square
#CDC546 #46CD82 #464ECD #CD4692
split-complementary
#CDC546 #4692CD #8246CD
monochromatic
#787320 #A8A12D #CDC546 #DAD476 #E7E3A6

Accessibility & contrast

On white

1.80
#CDC546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CDC546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC546
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC546#FFFFFF#000000##000000
##CDC5461.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE35
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#DCB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc546;
/* rgb */ color: rgb(205, 197, 70);
/* oklch */ color: oklch(80.7% 0.145 105.7);
Tailwind
colors: {
  custom: {
    50: '#e0d680',
    500: '#cdc546',
    950: '#000000',
  },
}
SCSS
$custom: #cdc546;
$custom-light: #e0d680;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc546",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 56.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80686,
    "c": 0.14527,
    "h": 105.7
  },
  "luminance": 0.53354
}

Semantic roles & 50–950 ramp

primary
#CDC546
secondary
#373B80
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC546

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

Preview Lab → · Contrast checker → · Palette generator →

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