#CBB845#CBB845

#CBB845 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.135 H 99.8°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CBB845
RGBrgb(203, 184, 69)
HSLhsl(51, 56%, 53%)
HSVhsv(51, 66%, 80%)
CMYKcmyk(0%, 9.4%, 66%, 20.4%)
CIE-LABlab(74.45, -6.50, 58.69)
CIE-LCHlch(74.45, 59.05, 96.32°)
OKLaboklab(77.75% -0.023 0.1325)
OKLCHoklch(77.75% 0.135 99.8)
XYZxyz(42.8451, 47.4091, 12.5231)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB845 #4558CB
analogous
#CB7545 #CBB845 #9BCB45
triadic
#CBB845 #45CBB8 #B845CB
tetradic
#CBB845 #45CB75 #4558CB #CB459B
square
#CBB845 #45CB75 #4558CB #CB459B
split-complementary
#CBB845 #459BCB #7545CB
monochromatic
#756921 #A5942E #CBB845 #D8CA75 #E6DDA5

Accessibility & contrast

On white

2.00
#CBB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CBB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB845
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB845#FFFFFF#000000##000000
##CBB8451.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb845;
/* rgb */ color: rgb(203, 184, 69);
/* oklch */ color: oklch(77.8% 0.135 99.8);
Tailwind
colors: {
  custom: {
    50: '#decd7e',
    500: '#cbb845',
    950: '#000000',
  },
}
SCSS
$custom: #cbb845;
$custom-light: #decd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb845",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 51.493,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77754,
    "c": 0.1345,
    "h": 99.8
  },
  "luminance": 0.47407
}

Semantic roles & 50–950 ramp

primary
#CBB845
secondary
#99A1D3
accent
#5EE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB845

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

Preview Lab → · Contrast checker → · Palette generator →

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