#CBAC4B#CBAC4B

#CBAC4B is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.121 H 91.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CBAC4B
RGBrgb(203, 172, 75)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 15.3%, 63.1%, 20.4%)
CIE-LABlab(71.36, 0.18, 52.75)
CIE-LCHlch(71.36, 52.75, 89.81°)
OKLaboklab(75.32% -0.0031 0.1208)
OKLCHoklch(75.32% 0.121 91.5)
XYZxyz(40.6531, 42.7118, 12.7582)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC4B #4B6ACB
analogous
#CB6C4B #CBAC4B #AACB4B
triadic
#CBAC4B #4BCBAC #AC4BCB
tetradic
#CBAC4B #4BCB6C #4B6ACB #CB4BAA
square
#CBAC4B #4BCB6C #4B6ACB #CB4BAA
split-complementary
#CBAC4B #4BAACB #6C4BCB
monochromatic
#796423 #A88B31 #CBAC4B #D9C27A #E6D8AA

Accessibility & contrast

On white

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

On black

9.54
#CBAC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC4B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC4B#FFFFFF#000000##000000
##CBAC4B1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA40
Deuteranopia (green-blind)
#C5B34F
Tritanopia (blue-blind)
#DB9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac4b;
/* rgb */ color: rgb(203, 172, 75);
/* oklch */ color: oklch(75.3% 0.121 91.5);
Tailwind
colors: {
  custom: {
    50: '#dec481',
    500: '#cbac4b',
    950: '#000000',
  },
}
SCSS
$custom: #cbac4b;
$custom-light: #dec481;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac4b",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 75
  },
  "hsl": {
    "h": 45.469,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75324,
    "c": 0.12087,
    "h": 91.5
  },
  "luminance": 0.4271
}

Semantic roles & 50–950 ramp

primary
#CBAC4B
secondary
#9EABD4
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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