#CDC347#CDC347

#CDC347 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.143 H 104.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CDC347
RGBrgb(205, 195, 71)
HSLhsl(56, 57%, 54%)
HSVhsv(56, 65%, 80%)
CMYKcmyk(0%, 4.9%, 65.4%, 19.6%)
CIE-LABlab(77.56, -11.19, 61.16)
CIE-LCHlch(77.56, 62.17, 100.37°)
OKLaboklab(80.27% -0.0362 0.138)
OKLCHoklch(80.27% 0.143 104.7)
XYZxyz(45.8310, 52.4660, 13.6728)
Luminance0.5246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC347 #4751CD
analogous
#CD8047 #CDC347 #94CD47
triadic
#CDC347 #47CDC3 #C347CD
tetradic
#CDC347 #47CD80 #4751CD #CD4794
square
#CDC347 #47CD80 #4751CD #CD4794
split-complementary
#CDC347 #4794CD #8047CD
monochromatic
#797221 #A9A02E #CDC347 #DAD377 #E7E2A7

Accessibility & contrast

On white

1.83
#CDC347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CDC347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC347
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC347#FFFFFF#000000##000000
##CDC3471.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#D7C24F
Tritanopia (blue-blind)
#DCB6A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc347;
/* rgb */ color: rgb(205, 195, 71);
/* oklch */ color: oklch(80.3% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#dfd480',
    500: '#cdc347',
    950: '#000000',
  },
}
SCSS
$custom: #cdc347;
$custom-light: #dfd480;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc347",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 55.522,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80269,
    "c": 0.14266,
    "h": 104.7
  },
  "luminance": 0.52464
}

Semantic roles & 50–950 ramp

primary
#CDC347
secondary
#373D81
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC347

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

Preview Lab → · Contrast checker → · Palette generator →

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