#CDB440#CDB440

#CDB440 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.135 H 96.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CDB440
RGBrgb(205, 180, 64)
HSLhsl(49, 59%, 53%)
HSVhsv(49, 69%, 80%)
CMYKcmyk(0%, 12.2%, 68.8%, 19.6%)
CIE-LABlab(73.54, -3.84, 59.86)
CIE-LCHlch(73.54, 59.99, 93.67°)
OKLaboklab(77.06% -0.0161 0.1341)
OKLCHoklch(77.06% 0.135 96.8)
XYZxyz(42.4255, 45.9940, 11.4925)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB440 #4059CD
analogous
#CD6E40 #CDB440 #9FCD40
triadic
#CDB440 #40CDB4 #B440CD
tetradic
#CDB440 #40CD6E #4059CD #CD409F
square
#CDB440 #40CD6E #4059CD #CD409F
split-complementary
#CDB440 #409FCD #6E40CD
monochromatic
#74651E #A58F2B #CDB440 #DAC771 #E6DAA1

Accessibility & contrast

On white

2.06
#CDB440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CDB440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB440
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB440#FFFFFF#000000##000000
##CDB4401.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#CCB846
Tritanopia (blue-blind)
#DDA79C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb440;
/* rgb */ color: rgb(205, 180, 64);
/* oklch */ color: oklch(77.1% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#e0ca7b',
    500: '#cdb440',
    950: '#000000',
  },
}
SCSS
$custom: #cdb440;
$custom-light: #e0ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb440",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 49.362,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77064,
    "c": 0.13507,
    "h": 96.8
  },
  "luminance": 0.45992
}

Semantic roles & 50–950 ramp

primary
#CDB440
secondary
#96A1D3
accent
#62E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB440

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

Preview Lab → · Contrast checker → · Palette generator →

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