#CDC147#CDC147

#CDC147 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.141 H 103.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CDC147
RGBrgb(205, 193, 71)
HSLhsl(55, 57%, 54%)
HSVhsv(55, 65%, 80%)
CMYKcmyk(0%, 5.9%, 65.4%, 19.6%)
CIE-LABlab(77.03, -10.17, 60.60)
CIE-LCHlch(77.03, 61.45, 99.52°)
OKLaboklab(79.85% -0.0333 0.1368)
OKLCHoklch(79.85% 0.141 103.7)
XYZxyz(45.3859, 51.5757, 13.5244)
Luminance0.5157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC147 #4753CD
analogous
#CD7E47 #CDC147 #96CD47
triadic
#CDC147 #47CDC1 #C147CD
tetradic
#CDC147 #47CD7E #4753CD #CD4796
square
#CDC147 #47CD7E #4753CD #CD4796
split-complementary
#CDC147 #4796CD #7E47CD
monochromatic
#797121 #A99E2E #CDC147 #DAD177 #E7E1A7

Accessibility & contrast

On white

1.86
#CDC147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CDC147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC147
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC147#FFFFFF#000000##000000
##CDC1471.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB37
Deuteranopia (green-blind)
#D5C14E
Tritanopia (blue-blind)
#DCB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc147;
/* rgb */ color: rgb(205, 193, 71);
/* oklch */ color: oklch(79.8% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#dfd380',
    500: '#cdc147',
    950: '#000000',
  },
}
SCSS
$custom: #cdc147;
$custom-light: #dfd380;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc147",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 71
  },
  "hsl": {
    "h": 54.627,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79846,
    "c": 0.14082,
    "h": 103.7
  },
  "luminance": 0.51574
}

Semantic roles & 50–950 ramp

primary
#CDC147
secondary
#373E81
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC147

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

Preview Lab → · Contrast checker → · Palette generator →

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