#CBAC3E#CBAC3E

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

Color values

HEX#CBAC3E
RGBrgb(203, 172, 62)
HSLhsl(47, 58%, 52%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 15.3%, 69.5%, 20.4%)
CIE-LABlab(71.25, -0.59, 58.28)
CIE-LCHlch(71.25, 58.28, 90.58°)
OKLaboklab(75.2% -0.0069 0.1305)
OKLCHoklch(75.2% 0.131 93)
XYZxyz(40.2527, 42.5516, 10.6496)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC3E #3E5DCB
analogous
#CB663E #CBAC3E #A3CB3E
triadic
#CBAC3E #3ECBAC #AC3ECB
tetradic
#CBAC3E #3ECB66 #3E5DCB #CB3EA3
square
#CBAC3E #3ECB66 #3E5DCB #CB3EA3
split-complementary
#CBAC3E #3EA3CB #663ECB
monochromatic
#705E1E #A1872B #CBAC3E #D8C16E #E5D59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAC3E#FFFFFF#000000##000000
##CBAC3E1.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)
#BEA92F
Deuteranopia (green-blind)
#C6B244
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbac3e;
/* rgb */ color: rgb(203, 172, 62);
/* oklch */ color: oklch(75.2% 0.131 93.0);
Tailwind
colors: {
  custom: {
    50: '#dfc479',
    500: '#cbac3e',
    950: '#000000',
  },
}
SCSS
$custom: #cbac3e;
$custom-light: #dfc479;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac3e",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 46.809,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75203,
    "c": 0.13067,
    "h": 93
  },
  "luminance": 0.42549
}

Semantic roles & 50–950 ramp

primary
#CBAC3E
secondary
#94A1D1
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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