#CBB542#CBB542

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

Color values

HEX#CBB542
RGBrgb(203, 181, 66)
HSLhsl(50, 57%, 53%)
HSVhsv(50, 67%, 80%)
CMYKcmyk(0%, 10.8%, 67.5%, 20.4%)
CIE-LABlab(73.64, -5.11, 59.08)
CIE-LCHlch(73.64, 59.31, 94.94°)
OKLaboklab(77.1% -0.0194 0.1329)
OKLCHoklch(77.1% 0.134 98.3)
XYZxyz(42.1378, 46.1396, 11.8395)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB542 #4258CB
analogous
#CB7042 #CBB542 #9CCB42
triadic
#CBB542 #42CBB5 #B542CB
tetradic
#CBB542 #42CB70 #4258CB #CB429C
square
#CBB542 #42CB70 #4258CB #CB429C
split-complementary
#CBB542 #429CCB #7042CB
monochromatic
#736620 #A3902D #CBB542 #D8C872 #E5DBA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB542#FFFFFF#000000##000000
##CBB5421.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)
#C6B133
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#DAA89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb542;
/* rgb */ color: rgb(203, 181, 66);
/* oklch */ color: oklch(77.1% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#deca7c',
    500: '#cbb542',
    950: '#000000',
  },
}
SCSS
$custom: #cbb542;
$custom-light: #deca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb542",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 50.365,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77101,
    "c": 0.13427,
    "h": 98.3
  },
  "luminance": 0.46138
}

Semantic roles & 50–950 ramp

primary
#CBB542
secondary
#97A0D2
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB542

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

Preview Lab → · Contrast checker → · Palette generator →

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