#CBB84C#CBB84C

#CBB84C is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.129 H 99.3°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CBB84C
RGBrgb(203, 184, 76)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.4%, 62.6%, 20.4%)
CIE-LABlab(74.51, -6.06, 55.74)
CIE-LCHlch(74.51, 56.07, 96.21°)
OKLaboklab(77.82% -0.0209 0.1273)
OKLCHoklch(77.82% 0.129 99.3)
XYZxyz(43.0754, 47.5012, 13.7358)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB84C #4C5FCB
analogous
#CB794C #CBB84C #9ECB4C
triadic
#CBB84C #4CCBB8 #B84CCB
tetradic
#CBB84C #4CCB79 #4C5FCB #CB4C9E
square
#CBB84C #4CCB79 #4C5FCB #CB4C9E
split-complementary
#CBB84C #4C9ECB #794CCB
monochromatic
#796C23 #A99731 #CBB84C #D9CB7B #E7DEAB

Accessibility & contrast

On white

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

On black

10.50
#CBB84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB84C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB84C#FFFFFF#000000##000000
##CBB84C1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B340
Deuteranopia (green-blind)
#CEBA52
Tritanopia (blue-blind)
#DAACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb84c;
/* rgb */ color: rgb(203, 184, 76);
/* oklch */ color: oklch(77.8% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#decd83',
    500: '#cbb84c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb84c;
$custom-light: #decd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb84c",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 51.024,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77819,
    "c": 0.12905,
    "h": 99.3
  },
  "luminance": 0.47499
}

Semantic roles & 50–950 ramp

primary
#CBB84C
secondary
#9FA7D4
accent
#60DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CBB84C

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

Preview Lab → · Contrast checker → · Palette generator →

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