#CDCB49#CDCB49

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

Color values

HEX#CDCB49
RGBrgb(205, 203, 73)
HSLhsl(59, 57%, 55%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1%, 64.4%, 19.6%)
CIE-LABlab(79.71, -15.11, 62.58)
CIE-LCHlch(79.71, 64.38, 103.57°)
OKLaboklab(81.99% -0.0471 0.1413)
OKLCHoklch(81.99% 0.149 108.4)
XYZxyz(47.7370, 56.1735, 14.6300)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB49 #494BCD
analogous
#CD8949 #CDCB49 #8DCD49
triadic
#CDCB49 #49CDCB #CB49CD
tetradic
#CDCB49 #49CD89 #494BCD #CD498D
square
#CDCB49 #49CD89 #494BCD #CD498D
split-complementary
#CDCB49 #498DCD #8949CD
monochromatic
#7A7922 #AAA82F #CDCB49 #DAD979 #E7E6A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCB49#FFFFFF#000000##000000
##CDCB491.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)
#DBC338
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb49;
/* rgb */ color: rgb(205, 203, 73);
/* oklch */ color: oklch(82.0% 0.149 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfda82',
    500: '#cdcb49',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb49;
$custom-light: #dfda82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb49",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 73
  },
  "hsl": {
    "h": 59.091,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8199,
    "c": 0.14896,
    "h": 108.4
  },
  "luminance": 0.56172
}

Semantic roles & 50–950 ramp

primary
#CDCB49
secondary
#383982
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCB49

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

Preview Lab → · Contrast checker → · Palette generator →

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