#CDCB4A#CDCB4A

#CDCB4A is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.148 H 108.4°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CDCB4A
RGBrgb(205, 203, 74)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1%, 63.9%, 19.6%)
CIE-LABlab(79.72, -15.05, 62.19)
CIE-LCHlch(79.72, 63.98, 103.60°)
OKLaboklab(82% -0.0468 0.1406)
OKLCHoklch(82% 0.148 108.4)
XYZxyz(47.7704, 56.1868, 14.8060)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB4A #4A4CCD
analogous
#CD8A4A #CDCB4A #8ECD4A
triadic
#CDCB4A #4ACDCB #CB4ACD
tetradic
#CDCB4A #4ACD8A #4A4CCD #CD4A8E
square
#CDCB4A #4ACD8A #4A4CCD #CD4A8E
split-complementary
#CDCB4A #4A8ECD #8A4ACD
monochromatic
#7B7922 #ABA92F #CDCB4A #DAD97A #E7E7AA

Accessibility & contrast

On white

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

On black

12.24
#CDCB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB4A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB4A#FFFFFF#000000##000000
##CDCB4A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#DBBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb4a;
/* rgb */ color: rgb(205, 203, 74);
/* oklch */ color: oklch(82.0% 0.148 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfda83',
    500: '#cdcb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb4a;
$custom-light: #dfda83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb4a",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 59.084,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81999,
    "c": 0.14822,
    "h": 108.4
  },
  "luminance": 0.56185
}

Semantic roles & 50–950 ramp

primary
#CDCB4A
secondary
#383A83
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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