#CDB642#CDB642

#CDB642 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.135 H 97.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CDB642
RGBrgb(205, 182, 66)
HSLhsl(50, 58%, 53%)
HSVhsv(50, 68%, 80%)
CMYKcmyk(0%, 11.2%, 67.8%, 19.6%)
CIE-LABlab(74.08, -4.77, 59.60)
CIE-LCHlch(74.08, 59.79, 94.58°)
OKLaboklab(77.5% -0.0185 0.1339)
OKLCHoklch(77.5% 0.135 97.9)
XYZxyz(42.8901, 46.8305, 11.9332)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB642 #4259CD
analogous
#CD7042 #CDB642 #9ECD42
triadic
#CDB642 #42CDB6 #B642CD
tetradic
#CDB642 #42CD70 #4259CD #CD429E
square
#CDB642 #42CD70 #4259CD #CD429E
split-complementary
#CDB642 #429ECD #7042CD
monochromatic
#76671F #A6922C #CDB642 #DAC972 #E7DBA3

Accessibility & contrast

On white

2.03
#CDB642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CDB642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB642
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB642#FFFFFF#000000##000000
##CDB6421.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B232
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#DDA99E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb642;
/* rgb */ color: rgb(205, 182, 66);
/* oklch */ color: oklch(77.5% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#e0cb7c',
    500: '#cdb642',
    950: '#000000',
  },
}
SCSS
$custom: #cdb642;
$custom-light: #e0cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb642",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 50.072,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77496,
    "c": 0.13517,
    "h": 97.9
  },
  "luminance": 0.46828
}

Semantic roles & 50–950 ramp

primary
#CDB642
secondary
#97A1D3
accent
#60E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB642

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

Preview Lab → · Contrast checker → · Palette generator →

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