#CBAA39#CBAA39

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

Color values

HEX#CBAA39
RGBrgb(203, 170, 57)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 72%, 80%)
CMYKcmyk(0%, 16.3%, 71.9%, 20.4%)
CIE-LABlab(70.69, 0.21, 59.74)
CIE-LCHlch(70.69, 59.74, 89.80°)
OKLaboklab(74.75% -0.0052 0.1327)
OKLCHoklch(74.75% 0.133 92.2)
XYZxyz(39.7440, 41.7437, 9.8341)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAA39 #395ACB
analogous
#CB6139 #CBAA39 #A3CB39
triadic
#CBAA39 #39CBAA #AA39CB
tetradic
#CBAA39 #39CB61 #395ACB #CB39A3
square
#CBAA39 #39CB61 #395ACB #CB39A3
split-complementary
#CBAA39 #39A3CB #6139CB
monochromatic
#6D5B1D #9D8329 #CBAA39 #D8BF69 #E4D49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAA39#FFFFFF#000000##000000
##CBAA391.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)
#BCA728
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#DB9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cbaa39;
/* rgb */ color: rgb(203, 170, 57);
/* oklch */ color: oklch(74.8% 0.133 92.2);
Tailwind
colors: {
  custom: {
    50: '#dfc276',
    500: '#cbaa39',
    950: '#000000',
  },
}
SCSS
$custom: #cbaa39;
$custom-light: #dfc276;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaa39",
  "rgb": {
    "r": 203,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 46.438,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74753,
    "c": 0.13277,
    "h": 92.2
  },
  "luminance": 0.41741
}

Semantic roles & 50–950 ramp

primary
#CBAA39
secondary
#909ED0
accent
#69E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAA39

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

Preview Lab → · Contrast checker → · Palette generator →

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