#CBBA3A#CBBA3A

#CBBA3A is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.144 H 101.6°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CBBA3A
RGBrgb(203, 186, 58)
HSLhsl(53, 58%, 51%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 8.4%, 71.4%, 20.4%)
CIE-LABlab(74.90, -8.12, 63.50)
CIE-LCHlch(74.90, 64.02, 97.29°)
OKLaboklab(78.09% -0.0288 0.1408)
OKLCHoklch(78.09% 0.144 101.6)
XYZxyz(42.9532, 48.1217, 11.0281)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBBA3A #3A4BCB
analogous
#CB713A #CBBA3A #93CB3A
triadic
#CBBA3A #3ACBBA #BA3ACB
tetradic
#CBBA3A #3ACB71 #3A4BCB #CB3A93
square
#CBBA3A #3ACB71 #3A4BCB #CB3A93
split-complementary
#CBBA3A #3A93CB #713ACB
monochromatic
#6E641D #9E902A #CBBA3A #D8CB6A #E5DC9B

Accessibility & contrast

On white

1.98
#CBBA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CBBA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBBA3A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBBA3A#FFFFFF#000000##000000
##CBBA3A1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB425
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#DAADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbba3a;
/* rgb */ color: rgb(203, 186, 58);
/* oklch */ color: oklch(78.1% 0.144 101.6);
Tailwind
colors: {
  custom: {
    50: '#dfce78',
    500: '#cbba3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbba3a;
$custom-light: #dfce78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbba3a",
  "rgb": {
    "r": 203,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 52.966,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78087,
    "c": 0.14372,
    "h": 101.6
  },
  "luminance": 0.4812
}

Semantic roles & 50–950 ramp

primary
#CBBA3A
secondary
#9098D0
accent
#59E146
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBBA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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