#CDCB46#CDCB46

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

Color values

HEX#CDCB46
RGBrgb(205, 203, 70)
HSLhsl(59, 57%, 54%)
HSVhsv(59, 66%, 80%)
CMYKcmyk(0%, 1%, 65.9%, 19.6%)
CIE-LABlab(79.69, -15.28, 63.75)
CIE-LCHlch(79.69, 65.56, 103.48°)
OKLaboklab(81.97% -0.0479 0.1433)
OKLCHoklch(81.97% 0.151 108.5)
XYZxyz(47.6399, 56.1346, 14.1187)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB46 #4648CD
analogous
#CD8846 #CDCB46 #8CCD46
triadic
#CDCB46 #46CDCB #CB46CD
tetradic
#CDCB46 #46CD88 #4648CD #CD468C
square
#CDCB46 #46CD88 #4648CD #CD468C
split-complementary
#CDCB46 #468CCD #8846CD
monochromatic
#787720 #A8A62D #CDCB46 #DAD976 #E7E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCB46#FFFFFF#000000##000000
##CDCB461.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)
#DBC333
Deuteranopia (green-blind)
#DDC84F
Tritanopia (blue-blind)
#DBBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdcb46;
/* rgb */ color: rgb(205, 203, 70);
/* oklch */ color: oklch(82.0% 0.151 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfda81',
    500: '#cdcb46',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb46;
$custom-light: #dfda81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb46",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 59.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81966,
    "c": 0.15111,
    "h": 108.5
  },
  "luminance": 0.56133
}

Semantic roles & 50–950 ramp

primary
#CDCB46
secondary
#373880
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCB46

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

Preview Lab → · Contrast checker → · Palette generator →

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