#CDB541#CDB541

#CDB541 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.135 H 97.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CDB541
RGBrgb(205, 181, 65)
HSLhsl(50, 58%, 53%)
HSVhsv(50, 68%, 80%)
CMYKcmyk(0%, 11.7%, 68.3%, 19.6%)
CIE-LABlab(73.81, -4.30, 59.73)
CIE-LCHlch(73.81, 59.89, 94.12°)
OKLaboklab(77.28% -0.0173 0.134)
OKLCHoklch(77.28% 0.135 97.4)
XYZxyz(42.6569, 46.4106, 11.7113)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB541 #4159CD
analogous
#CD6F41 #CDB541 #9FCD41
triadic
#CDB541 #41CDB5 #B541CD
tetradic
#CDB541 #41CD6F #4159CD #CD419F
square
#CDB541 #41CD6F #4159CD #CD419F
split-complementary
#CDB541 #419FCD #6F41CD
monochromatic
#75661F #A5902C #CDB541 #DAC871 #E6DBA2

Accessibility & contrast

On white

2.04
#CDB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CDB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB541
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB541#FFFFFF#000000##000000
##CDB5411.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#DDA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb541;
/* rgb */ color: rgb(205, 181, 65);
/* oklch */ color: oklch(77.3% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#e0ca7c',
    500: '#cdb541',
    950: '#000000',
  },
}
SCSS
$custom: #cdb541;
$custom-light: #e0ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb541",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 49.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7728,
    "c": 0.13512,
    "h": 97.4
  },
  "luminance": 0.46409
}

Semantic roles & 50–950 ramp

primary
#CDB541
secondary
#97A1D3
accent
#61E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB541

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

Preview Lab → · Contrast checker → · Palette generator →

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