#CDCB47#CDCB47

#CDCB47 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.150 H 108.5°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CDCB47
RGBrgb(205, 203, 71)
HSLhsl(59, 57%, 54%)
HSVhsv(59, 65%, 80%)
CMYKcmyk(0%, 1%, 65.4%, 19.6%)
CIE-LABlab(79.70, -15.23, 63.37)
CIE-LCHlch(79.70, 65.17, 103.51°)
OKLaboklab(81.97% -0.0476 0.1427)
OKLCHoklch(81.97% 0.15 108.5)
XYZxyz(47.6717, 56.1474, 14.2864)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB47 #4749CD
analogous
#CD8847 #CDCB47 #8CCD47
triadic
#CDCB47 #47CDCB #CB47CD
tetradic
#CDCB47 #47CD88 #4749CD #CD478C
square
#CDCB47 #47CD88 #4749CD #CD478C
split-complementary
#CDCB47 #478CCD #8847CD
monochromatic
#797721 #A9A72E #CDCB47 #DAD977 #E7E6A7

Accessibility & contrast

On white

1.72
#CDCB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CDCB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB47
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB47#FFFFFF#000000##000000
##CDCB471.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC335
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdcb47;
/* rgb */ color: rgb(205, 203, 71);
/* oklch */ color: oklch(82.0% 0.150 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfda81',
    500: '#cdcb47',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb47;
$custom-light: #dfda81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb47",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 59.104,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81974,
    "c": 0.1504,
    "h": 108.5
  },
  "luminance": 0.56146
}

Semantic roles & 50–950 ramp

primary
#CDCB47
secondary
#373881
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCB47

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

Preview Lab → · Contrast checker → · Palette generator →

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