#CDCB48#CDCB48

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

Color values

HEX#CDCB48
RGBrgb(205, 203, 72)
HSLhsl(59, 57%, 54%)
HSVhsv(59, 65%, 80%)
CMYKcmyk(0%, 1%, 64.9%, 19.6%)
CIE-LABlab(79.70, -15.17, 62.98)
CIE-LCHlch(79.70, 64.78, 103.54°)
OKLaboklab(81.98% -0.0474 0.142)
OKLCHoklch(81.98% 0.15 108.4)
XYZxyz(47.7041, 56.1603, 14.4568)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB48 #484ACD
analogous
#CD8948 #CDCB48 #8DCD48
triadic
#CDCB48 #48CDCB #CB48CD
tetradic
#CDCB48 #48CD89 #484ACD #CD488D
square
#CDCB48 #48CD89 #484ACD #CD488D
split-complementary
#CDCB48 #488DCD #8948CD
monochromatic
#797821 #A9A82E #CDCB48 #DAD978 #E7E6A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCB48#FFFFFF#000000##000000
##CDCB481.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)
#DBC336
Deuteranopia (green-blind)
#DDC850
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcb48;
/* rgb */ color: rgb(205, 203, 72);
/* oklch */ color: oklch(82.0% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfda82',
    500: '#cdcb48',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb48;
$custom-light: #dfda82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb48",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 59.098,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81982,
    "c": 0.14968,
    "h": 108.4
  },
  "luminance": 0.56159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCB48

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

Preview Lab → · Contrast checker → · Palette generator →

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