#CBAC3C#CBAC3C

#CBAC3C is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.132 H 93.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CBAC3C
RGBrgb(203, 172, 60)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 70%, 80%)
CMYKcmyk(0%, 15.3%, 70.4%, 20.4%)
CIE-LABlab(71.23, -0.70, 59.08)
CIE-LCHlch(71.23, 59.09, 90.68°)
OKLaboklab(75.19% -0.0074 0.1318)
OKLCHoklch(75.19% 0.132 93.2)
XYZxyz(40.1988, 42.5301, 10.3659)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC3C #3C5BCB
analogous
#CB653C #CBAC3C #A3CB3C
triadic
#CBAC3C #3CCBAC #AC3CCB
tetradic
#CBAC3C #3CCB65 #3C5BCB #CB3CA3
square
#CBAC3C #3CCB65 #3C5BCB #CB3CA3
split-complementary
#CBAC3C #3CA3CB #653CCB
monochromatic
#6F5D1E #9F862A #CBAC3C #D8C16C #E5D59D

Accessibility & contrast

On white

2.21
#CBAC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CBAC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC3C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC3C#FFFFFF#000000##000000
##CBAC3C1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbac3c;
/* rgb */ color: rgb(203, 172, 60);
/* oklch */ color: oklch(75.2% 0.132 93.2);
Tailwind
colors: {
  custom: {
    50: '#dfc478',
    500: '#cbac3c',
    950: '#000000',
  },
}
SCSS
$custom: #cbac3c;
$custom-light: #dfc478;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac3c",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 46.993,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75187,
    "c": 0.13204,
    "h": 93.2
  },
  "luminance": 0.42528
}

Semantic roles & 50–950 ramp

primary
#CBAC3C
secondary
#92A0D1
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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