#CBB541#CBB541

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

Color values

HEX#CBB541
RGBrgb(203, 181, 65)
HSLhsl(50, 57%, 53%)
HSVhsv(50, 68%, 80%)
CMYKcmyk(0%, 10.8%, 68%, 20.4%)
CIE-LABlab(73.63, -5.16, 59.49)
CIE-LCHlch(73.63, 59.71, 94.96°)
OKLaboklab(77.09% -0.0196 0.1336)
OKLCHoklch(77.09% 0.135 98.4)
XYZxyz(42.1085, 46.1279, 11.6856)
Luminance0.4613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB541 #4157CB
analogous
#CB7041 #CBB541 #9CCB41
triadic
#CBB541 #41CBB5 #B541CB
tetradic
#CBB541 #41CB70 #4157CB #CB419C
square
#CBB541 #41CB70 #4157CB #CB419C
split-complementary
#CBB541 #419CCB #7041CB
monochromatic
#72651F #A2902C #CBB541 #D8C871 #E5DAA1

Accessibility & contrast

On white

2.05
#CBB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#CBB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB541
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB541#FFFFFF#000000##000000
##CBB5411.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B131
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#DBA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb541;
/* rgb */ color: rgb(203, 181, 65);
/* oklch */ color: oklch(77.1% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#deca7c',
    500: '#cbb541',
    950: '#000000',
  },
}
SCSS
$custom: #cbb541;
$custom-light: #deca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb541",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 50.435,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77092,
    "c": 0.13498,
    "h": 98.4
  },
  "luminance": 0.46126
}

Semantic roles & 50–950 ramp

primary
#CBB541
secondary
#969FD2
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB541

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

Preview Lab → · Contrast checker → · Palette generator →

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