#CBAC4E#CBAC4E

#CBAC4E is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.118 H 91.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CBAC4E
RGBrgb(203, 172, 78)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 62%, 80%)
CMYKcmyk(0%, 15.3%, 61.6%, 20.4%)
CIE-LABlab(71.39, 0.38, 51.41)
CIE-LCHlch(71.39, 51.41, 89.58°)
OKLaboklab(75.36% -0.0022 0.1184)
OKLCHoklch(75.36% 0.118 91.1)
XYZxyz(40.7582, 42.7538, 13.3117)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC4E #4E6DCB
analogous
#CB6D4E #CBAC4E #ABCB4E
triadic
#CBAC4E #4ECBAC #AC4ECB
tetradic
#CBAC4E #4ECB6D #4E6DCB #CB4EAB
square
#CBAC4E #4ECB6D #4E6DCB #CB4EAB
split-complementary
#CBAC4E #4EABCB #6D4ECB
monochromatic
#7B6524 #AA8C32 #CBAC4E #D9C27D #E7D8AD

Accessibility & contrast

On white

2.20
#CBAC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CBAC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC4E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC4E#FFFFFF#000000##000000
##CBAC4E1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA44
Deuteranopia (green-blind)
#C5B352
Tritanopia (blue-blind)
#DA9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac4e;
/* rgb */ color: rgb(203, 172, 78);
/* oklch */ color: oklch(75.4% 0.118 91.1);
Tailwind
colors: {
  custom: {
    50: '#dec483',
    500: '#cbac4e',
    950: '#000000',
  },
}
SCSS
$custom: #cbac4e;
$custom-light: #dec483;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac4e",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 45.12,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75356,
    "c": 0.11839,
    "h": 91.1
  },
  "luminance": 0.42752
}

Semantic roles & 50–950 ramp

primary
#CBAC4E
secondary
#A0ADD5
accent
#6FDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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