#CBB945#CBB945

#CBB945 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.135 H 100.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CBB945
RGBrgb(203, 185, 69)
HSLhsl(52, 56%, 53%)
HSVhsv(52, 66%, 80%)
CMYKcmyk(0%, 8.9%, 66%, 20.4%)
CIE-LABlab(74.72, -7.02, 58.96)
CIE-LCHlch(74.72, 59.38, 96.79°)
OKLaboklab(77.96% -0.0245 0.1331)
OKLCHoklch(77.96% 0.135 100.4)
XYZxyz(43.0536, 47.8260, 12.5926)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB945 #4557CB
analogous
#CB7645 #CBB945 #9ACB45
triadic
#CBB945 #45CBB9 #B945CB
tetradic
#CBB945 #45CB76 #4557CB #CB459A
square
#CBB945 #45CB76 #4557CB #CB459A
split-complementary
#CBB945 #459ACB #7645CB
monochromatic
#756A21 #A5952E #CBB945 #D8CB75 #E6DDA5

Accessibility & contrast

On white

1.99
#CBB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CBB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB945
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB945#FFFFFF#000000##000000
##CBB9451.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#DAACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb945;
/* rgb */ color: rgb(203, 185, 69);
/* oklch */ color: oklch(78.0% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#decd7e',
    500: '#cbb945',
    950: '#000000',
  },
}
SCSS
$custom: #cbb945;
$custom-light: #decd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb945",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 51.94,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77964,
    "c": 0.13533,
    "h": 100.4
  },
  "luminance": 0.47824
}

Semantic roles & 50–950 ramp

primary
#CBB945
secondary
#99A1D3
accent
#5DE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB945

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

Preview Lab → · Contrast checker → · Palette generator →

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