#CDCA4B#CDCA4B

#CDCA4B is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.146 H 107.9°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CDCA4B
RGBrgb(205, 202, 75)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1.5%, 63.4%, 19.6%)
CIE-LABlab(79.46, -14.49, 61.51)
CIE-LCHlch(79.46, 63.19, 103.25°)
OKLaboklab(81.79% -0.0451 0.1394)
OKLCHoklch(81.79% 0.146 107.9)
XYZxyz(47.5690, 55.7296, 14.9064)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA4B #4B4ECD
analogous
#CD894B #CDCA4B #8FCD4B
triadic
#CDCA4B #4BCDCA #CA4BCD
tetradic
#CDCA4B #4BCD89 #4B4ECD #CD4B8F
square
#CDCA4B #4BCD89 #4B4ECD #CD4B8F
split-complementary
#CDCA4B #4B8FCD #894BCD
monochromatic
#7B7922 #ABA830 #CDCA4B #DAD87B #E8E6AB

Accessibility & contrast

On white

1.73
#CDCA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CDCA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA4B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA4B#FFFFFF#000000##000000
##CDCA4B1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdca4b;
/* rgb */ color: rgb(205, 202, 75);
/* oklch */ color: oklch(81.8% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd983',
    500: '#cdca4b',
    950: '#000000',
  },
}
SCSS
$custom: #cdca4b;
$custom-light: #dfd983;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca4b",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 58.615,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81794,
    "c": 0.14647,
    "h": 107.9
  },
  "luminance": 0.55728
}

Semantic roles & 50–950 ramp

primary
#CDCA4B
secondary
#393B83
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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