#CBAB3C#CBAB3C

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

Color values

HEX#CBAB3C
RGBrgb(203, 171, 60)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 15.8%, 70.4%, 20.4%)
CIE-LABlab(70.97, -0.17, 58.82)
CIE-LCHlch(70.97, 58.82, 90.16°)
OKLaboklab(74.98% -0.0059 0.1313)
OKLCHoklch(74.98% 0.131 92.6)
XYZxyz(40.0092, 42.1509, 10.3027)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB3C #3C5CCB
analogous
#CB643C #CBAB3C #A4CB3C
triadic
#CBAB3C #3CCBAB #AB3CCB
tetradic
#CBAB3C #3CCB64 #3C5CCB #CB3CA4
square
#CBAB3C #3CCB64 #3C5CCB #CB3CA4
split-complementary
#CBAB3C #3CA4CB #643CCB
monochromatic
#6F5D1E #9F852A #CBAB3C #D8C06C #E5D59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAB3C#FFFFFF#000000##000000
##CBAB3C1.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)
#BDA82C
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#DB9D94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab3c;
/* rgb */ color: rgb(203, 171, 60);
/* oklch */ color: oklch(75.0% 0.131 92.6);
Tailwind
colors: {
  custom: {
    50: '#dfc378',
    500: '#cbab3c',
    950: '#000000',
  },
}
SCSS
$custom: #cbab3c;
$custom-light: #dfc378;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab3c",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 46.573,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74981,
    "c": 0.1314,
    "h": 92.6
  },
  "luminance": 0.42149
}

Semantic roles & 50–950 ramp

primary
#CBAB3C
secondary
#92A0D1
accent
#69E147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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