#CDCA43#CDCA43

#CDCA43 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.152 H 108.1°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CDCA43
RGBrgb(205, 202, 67)
HSLhsl(59, 58%, 53%)
HSVhsv(59, 67%, 80%)
CMYKcmyk(0%, 1.5%, 67.3%, 19.6%)
CIE-LABlab(79.40, -14.95, 64.62)
CIE-LCHlch(79.40, 66.33, 103.03°)
OKLaboklab(81.73% -0.0472 0.1447)
OKLCHoklch(81.73% 0.152 108.1)
XYZxyz(47.3122, 55.6269, 13.5539)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA43 #4346CD
analogous
#CD8543 #CDCA43 #8BCD43
triadic
#CDCA43 #43CDCA #CA43CD
tetradic
#CDCA43 #43CD85 #4346CD #CD438B
square
#CDCA43 #43CD85 #4346CD #CD438B
split-complementary
#CDCA43 #438BCD #8543CD
monochromatic
#76741F #A7A42C #CDCA43 #DAD873 #E7E5A4

Accessibility & contrast

On white

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

On black

12.13
#CDCA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA43
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA43#FFFFFF#000000##000000
##CDCA431.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22F
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca43;
/* rgb */ color: rgb(205, 202, 67);
/* oklch */ color: oklch(81.7% 0.152 108.1);
Tailwind
colors: {
  custom: {
    50: '#e0d97f',
    500: '#cdca43',
    950: '#000000',
  },
}
SCSS
$custom: #cdca43;
$custom-light: #e0d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca43",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 67
  },
  "hsl": {
    "h": 58.696,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81728,
    "c": 0.15218,
    "h": 108.1
  },
  "luminance": 0.55625
}

Semantic roles & 50–950 ramp

primary
#CDCA43
secondary
#36377F
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA43

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

Preview Lab → · Contrast checker → · Palette generator →

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