#CDB941#CDB941

#CDB941 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.138 H 99.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CDB941
RGBrgb(205, 185, 65)
HSLhsl(51, 58%, 53%)
HSVhsv(51, 68%, 80%)
CMYKcmyk(0%, 9.8%, 68.3%, 19.6%)
CIE-LABlab(74.86, -6.39, 60.81)
CIE-LCHlch(74.86, 61.14, 96.00°)
OKLaboklab(78.11% -0.0232 0.1363)
OKLCHoklch(78.11% 0.138 99.7)
XYZxyz(43.4819, 48.0607, 11.9863)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB941 #4155CD
analogous
#CD7341 #CDB941 #9BCD41
triadic
#CDB941 #41CDB9 #B941CD
tetradic
#CDB941 #41CD73 #4155CD #CD419B
square
#CDB941 #41CD73 #4155CD #CD419B
split-complementary
#CDB941 #419BCD #7341CD
monochromatic
#75691F #A5942C #CDB941 #DACB71 #E6DDA2

Accessibility & contrast

On white

1.98
#CDB941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#CDB941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB941
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB941#FFFFFF#000000##000000
##CDB9411.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#D0BB48
Tritanopia (blue-blind)
#DDACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb941;
/* rgb */ color: rgb(205, 185, 65);
/* oklch */ color: oklch(78.1% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0cd7c',
    500: '#cdb941',
    950: '#000000',
  },
}
SCSS
$custom: #cdb941;
$custom-light: #e0cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb941",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 51.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78114,
    "c": 0.13825,
    "h": 99.7
  },
  "luminance": 0.48059
}

Semantic roles & 50–950 ramp

primary
#CDB941
secondary
#979FD3
accent
#5CE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB941

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

Preview Lab → · Contrast checker → · Palette generator →

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