#CDB640#CDB640

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

Color values

HEX#CDB640
RGBrgb(205, 182, 64)
HSLhsl(50, 59%, 53%)
HSVhsv(50, 69%, 80%)
CMYKcmyk(0%, 11.2%, 68.8%, 19.6%)
CIE-LABlab(74.07, -4.88, 60.40)
CIE-LCHlch(74.07, 60.60, 94.62°)
OKLaboklab(77.48% -0.019 0.1352)
OKLCHoklch(77.48% 0.137 98)
XYZxyz(42.8322, 46.8073, 11.6281)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB640 #4057CD
analogous
#CD7040 #CDB640 #9DCD40
triadic
#CDB640 #40CDB6 #B640CD
tetradic
#CDB640 #40CD70 #4057CD #CD409D
square
#CDB640 #40CD70 #4057CD #CD409D
split-complementary
#CDB640 #409DCD #7040CD
monochromatic
#74661E #A5912B #CDB640 #DAC971 #E6DBA1

Accessibility & contrast

On white

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

On black

10.36
#CDB640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB640
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB640#FFFFFF#000000##000000
##CDB6401.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb640;
/* rgb */ color: rgb(205, 182, 64);
/* oklch */ color: oklch(77.5% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#e0cb7b',
    500: '#cdb640',
    950: '#000000',
  },
}
SCSS
$custom: #cdb640;
$custom-light: #e0cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb640",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 50.213,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7748,
    "c": 0.13658,
    "h": 98
  },
  "luminance": 0.46805
}

Semantic roles & 50–950 ramp

primary
#CDB640
secondary
#96A0D3
accent
#5FE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB640

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

Preview Lab → · Contrast checker → · Palette generator →

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