#CBAA3A#CBAA3A

#CBAA3A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.132 H 92.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CBAA3A
RGBrgb(203, 170, 58)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 71%, 80%)
CMYKcmyk(0%, 16.3%, 71.4%, 20.4%)
CIE-LABlab(70.70, 0.26, 59.35)
CIE-LCHlch(70.70, 59.35, 89.75°)
OKLaboklab(74.76% -0.0049 0.132)
OKLCHoklch(74.76% 0.132 92.1)
XYZxyz(39.7692, 41.7538, 9.9667)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAA3A #3A5BCB
analogous
#CB613A #CBAA3A #A3CB3A
triadic
#CBAA3A #3ACBAA #AA3ACB
tetradic
#CBAA3A #3ACB61 #3A5BCB #CB3AA3
square
#CBAA3A #3ACB61 #3A5BCB #CB3AA3
split-complementary
#CBAA3A #3AA3CB #613ACB
monochromatic
#6E5B1D #9E842A #CBAA3A #D8BF6A #E5D49B

Accessibility & contrast

On white

2.25
#CBAA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CBAA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAA3A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAA3A#FFFFFF#000000##000000
##CBAA3A1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#DB9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cbaa3a;
/* rgb */ color: rgb(203, 170, 58);
/* oklch */ color: oklch(74.8% 0.132 92.1);
Tailwind
colors: {
  custom: {
    50: '#dfc277',
    500: '#cbaa3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbaa3a;
$custom-light: #dfc277;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaa3a",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 46.345,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7476,
    "c": 0.13212,
    "h": 92.1
  },
  "luminance": 0.41751
}

Semantic roles & 50–950 ramp

primary
#CBAA3A
secondary
#909FD0
accent
#6AE146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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