#CDC745#CDC745

#CDC745 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.148 H 106.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CDC745
RGBrgb(205, 199, 69)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 66%, 80%)
CMYKcmyk(0%, 2.9%, 66.3%, 19.6%)
CIE-LABlab(78.61, -13.33, 63.04)
CIE-LCHlch(78.61, 64.44, 101.94°)
OKLaboklab(81.1% -0.0425 0.1417)
OKLCHoklch(81.1% 0.148 106.7)
XYZxyz(46.6761, 54.2572, 13.6431)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC745 #454BCD
analogous
#CD8345 #CDC745 #8FCD45
triadic
#CDC745 #45CDC7 #C745CD
tetradic
#CDC745 #45CD83 #454BCD #CD458F
square
#CDC745 #45CD83 #454BCD #CD458F
split-complementary
#CDC745 #458FCD #8345CD
monochromatic
#777420 #A8A22D #CDC745 #DAD675 #E7E4A5

Accessibility & contrast

On white

1.77
#CDC745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CDC745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC745
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC745#FFFFFF#000000##000000
##CDC7451.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C033
Deuteranopia (green-blind)
#DAC54D
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc745;
/* rgb */ color: rgb(205, 199, 69);
/* oklch */ color: oklch(81.1% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#e0d780',
    500: '#cdc745',
    950: '#000000',
  },
}
SCSS
$custom: #cdc745;
$custom-light: #e0d780;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc745",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 57.353,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81103,
    "c": 0.14789,
    "h": 106.7
  },
  "luminance": 0.54256
}

Semantic roles & 50–950 ramp

primary
#CDC745
secondary
#363A80
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC745

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

Preview Lab → · Contrast checker → · Palette generator →

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