#CDC846#CDC846

#CDC846 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.148 H 107.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC846
RGBrgb(205, 200, 70)
HSLhsl(58, 57%, 54%)
HSVhsv(58, 66%, 80%)
CMYKcmyk(0%, 2.4%, 65.9%, 19.6%)
CIE-LABlab(78.89, -13.78, 62.93)
CIE-LCHlch(78.89, 64.42, 102.35°)
OKLaboklab(81.32% -0.0436 0.1416)
OKLCHoklch(81.32% 0.148 107.1)
XYZxyz(46.9383, 54.7314, 13.8849)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC846 #464BCD
analogous
#CD8546 #CDC846 #8FCD46
triadic
#CDC846 #46CDC8 #C846CD
tetradic
#CDC846 #46CD85 #464BCD #CD468F
square
#CDC846 #46CD85 #464BCD #CD468F
split-complementary
#CDC846 #468FCD #8546CD
monochromatic
#787520 #A8A42D #CDC846 #DAD676 #E7E5A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC846#FFFFFF#000000##000000
##CDC8461.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)
#D8C034
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#DBBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc846;
/* rgb */ color: rgb(205, 200, 70);
/* oklch */ color: oklch(81.3% 0.148 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd880',
    500: '#cdc846',
    950: '#000000',
  },
}
SCSS
$custom: #cdc846;
$custom-light: #dfd880;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc846",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 57.778,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81324,
    "c": 0.14815,
    "h": 107.1
  },
  "luminance": 0.5473
}

Semantic roles & 50–950 ramp

primary
#CDC846
secondary
#373980
accent
#4DE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC846

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

Preview Lab → · Contrast checker → · Palette generator →

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