#CBB841#CBB841

#CBB841 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.7% C 0.137 H 100.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CBB841
RGBrgb(203, 184, 65)
HSLhsl(52, 57%, 53%)
HSVhsv(52, 68%, 80%)
CMYKcmyk(0%, 9.4%, 68%, 20.4%)
CIE-LABlab(74.42, -6.72, 60.30)
CIE-LCHlch(74.42, 60.67, 96.36°)
OKLaboklab(77.72% -0.0241 0.1353)
OKLCHoklch(77.72% 0.137 100.1)
XYZxyz(42.7251, 47.3611, 11.8911)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB841 #4154CB
analogous
#CB7341 #CBB841 #99CB41
triadic
#CBB841 #41CBB8 #B841CB
tetradic
#CBB841 #41CB73 #4154CB #CB4199
square
#CBB841 #41CB73 #4154CB #CB4199
split-complementary
#CBB841 #4199CB #7341CB
monochromatic
#72671F #A2922C #CBB841 #D8CA71 #E5DCA1

Accessibility & contrast

On white

2.01
#CBB841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CBB841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB841
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB841#FFFFFF#000000##000000
##CBB8411.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#DAABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb841;
/* rgb */ color: rgb(203, 184, 65);
/* oklch */ color: oklch(77.7% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#decd7c',
    500: '#cbb841',
    950: '#000000',
  },
}
SCSS
$custom: #cbb841;
$custom-light: #decd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb841",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 51.739,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7772,
    "c": 0.1374,
    "h": 100.1
  },
  "luminance": 0.47359
}

Semantic roles & 50–950 ramp

primary
#CBB841
secondary
#969ED2
accent
#5DE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB841

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

Preview Lab → · Contrast checker → · Palette generator →

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