#CDB645#CDB645

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

Color values

HEX#CDB645
RGBrgb(205, 182, 69)
HSLhsl(50, 58%, 54%)
HSVhsv(50, 66%, 80%)
CMYKcmyk(0%, 11.2%, 66.3%, 19.6%)
CIE-LABlab(74.10, -4.60, 58.38)
CIE-LCHlch(74.10, 58.56, 94.51°)
OKLaboklab(77.52% -0.0177 0.1318)
OKLCHoklch(77.52% 0.133 97.6)
XYZxyz(42.9809, 46.8668, 12.4113)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB645 #455CCD
analogous
#CD7245 #CDB645 #A0CD45
triadic
#CDB645 #45CDB6 #B645CD
tetradic
#CDB645 #45CD72 #455CCD #CD45A0
square
#CDB645 #45CD72 #455CCD #CD45A0
split-complementary
#CDB645 #45A0CD #7245CD
monochromatic
#776920 #A8932D #CDB645 #DAC975 #E7DCA5

Accessibility & contrast

On white

2.02
#CDB645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB645#FFFFFF#000000##000000
##CDB6451.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B237
Deuteranopia (green-blind)
#CDBA4B
Tritanopia (blue-blind)
#DDA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb645;
/* rgb */ color: rgb(205, 182, 69);
/* oklch */ color: oklch(77.5% 0.133 97.6);
Tailwind
colors: {
  custom: {
    50: '#e0cb7e',
    500: '#cdb645',
    950: '#000000',
  },
}
SCSS
$custom: #cdb645;
$custom-light: #e0cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb645",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 49.853,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77522,
    "c": 0.13299,
    "h": 97.6
  },
  "luminance": 0.46865
}

Semantic roles & 50–950 ramp

primary
#CDB645
secondary
#9AA4D4
accent
#61E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB645

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

Preview Lab → · Contrast checker → · Palette generator →

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