#CBAB3E#CBAB3E

#CBAB3E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.130 H 92.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CBAB3E
RGBrgb(203, 171, 62)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 69%, 80%)
CMYKcmyk(0%, 15.8%, 69.5%, 20.4%)
CIE-LABlab(70.99, -0.06, 58.02)
CIE-LCHlch(70.99, 58.02, 90.06°)
OKLaboklab(75% -0.0054 0.1299)
OKLCHoklch(75% 0.13 92.4)
XYZxyz(40.0631, 42.1724, 10.5864)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB3E #3E5ECB
analogous
#CB653E #CBAB3E #A5CB3E
triadic
#CBAB3E #3ECBAB #AB3ECB
tetradic
#CBAB3E #3ECB65 #3E5ECB #CB3EA5
square
#CBAB3E #3ECB65 #3E5ECB #CB3EA5
split-complementary
#CBAB3E #3EA5CB #653ECB
monochromatic
#705E1E #A1862B #CBAB3E #D8C06E #E5D59E

Accessibility & contrast

On white

2.23
#CBAB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CBAB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAB3E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAB3E#FFFFFF#000000##000000
##CBAB3E1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#DB9D95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab3e;
/* rgb */ color: rgb(203, 171, 62);
/* oklch */ color: oklch(75.0% 0.130 92.4);
Tailwind
colors: {
  custom: {
    50: '#dfc379',
    500: '#cbab3e',
    950: '#000000',
  },
}
SCSS
$custom: #cbab3e;
$custom-light: #dfc379;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab3e",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 46.383,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74998,
    "c": 0.13004,
    "h": 92.4
  },
  "luminance": 0.4217
}

Semantic roles & 50–950 ramp

primary
#CBAB3E
secondary
#94A2D1
accent
#6AE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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