#CBB83A#CBB83A

#CBB83A is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.7% C 0.142 H 100.5°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#CBB83A
RGBrgb(203, 184, 58)
HSLhsl(52, 58%, 51%)
HSVhsv(52, 71%, 80%)
CMYKcmyk(0%, 9.4%, 71.4%, 20.4%)
CIE-LABlab(74.37, -7.09, 62.98)
CIE-LCHlch(74.37, 63.38, 96.42°)
OKLaboklab(77.67% -0.0258 0.1397)
OKLCHoklch(77.67% 0.142 100.5)
XYZxyz(42.5348, 47.2849, 10.8886)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB83A #3A4DCB
analogous
#CB6F3A #CBB83A #95CB3A
triadic
#CBB83A #3ACBB8 #B83ACB
tetradic
#CBB83A #3ACB6F #3A4DCB #CB3A95
square
#CBB83A #3ACB6F #3A4DCB #CB3A95
split-complementary
#CBB83A #3A95CB #6F3ACB
monochromatic
#6E631D #9E8F2A #CBB83A #D8C96A #E5DB9B

Accessibility & contrast

On white

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

On black

10.46
#CBB83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB83A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB83A#FFFFFF#000000##000000
##CBB83A1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B326
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#DBAB9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbb83a;
/* rgb */ color: rgb(203, 184, 58);
/* oklch */ color: oklch(77.7% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd78',
    500: '#cbb83a',
    950: '#000000',
  },
}
SCSS
$custom: #cbb83a;
$custom-light: #dfcd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb83a",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 58
  },
  "hsl": {
    "h": 52.138,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77666,
    "c": 0.14208,
    "h": 100.5
  },
  "luminance": 0.47283
}

Semantic roles & 50–950 ramp

primary
#CBB83A
secondary
#9099D0
accent
#5BE146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB83A

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

Preview Lab → · Contrast checker → · Palette generator →

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