#CDCA46#CDCA46

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

Color values

HEX#CDCA46
RGBrgb(205, 202, 70)
HSLhsl(59, 57%, 54%)
HSVhsv(59, 66%, 80%)
CMYKcmyk(0%, 1.5%, 65.9%, 19.6%)
CIE-LABlab(79.42, -14.78, 63.48)
CIE-LCHlch(79.42, 65.18, 103.11°)
OKLaboklab(81.75% -0.0465 0.1427)
OKLCHoklch(81.75% 0.15 108)
XYZxyz(47.4045, 55.6639, 14.0403)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA46 #4649CD
analogous
#CD8746 #CDCA46 #8DCD46
triadic
#CDCA46 #46CDCA #CA46CD
tetradic
#CDCA46 #46CD87 #4649CD #CD468D
square
#CDCA46 #46CD87 #4649CD #CD468D
split-complementary
#CDCA46 #468DCD #8746CD
monochromatic
#787620 #A8A62D #CDCA46 #DAD876 #E7E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCA46#FFFFFF#000000##000000
##CDCA461.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)
#DAC233
Deuteranopia (green-blind)
#DCC74F
Tritanopia (blue-blind)
#DBBDAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdca46;
/* rgb */ color: rgb(205, 202, 70);
/* oklch */ color: oklch(81.8% 0.150 108.0);
Tailwind
colors: {
  custom: {
    50: '#dfd980',
    500: '#cdca46',
    950: '#000000',
  },
}
SCSS
$custom: #cdca46;
$custom-light: #dfd980;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca46",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 58.667,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81752,
    "c": 0.15011,
    "h": 108
  },
  "luminance": 0.55662
}

Semantic roles & 50–950 ramp

primary
#CDCA46
secondary
#373880
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCA46

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

Preview Lab → · Contrast checker → · Palette generator →

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