#CBAC4F#CBAC4F

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

Color values

HEX#CBAC4F
RGBrgb(203, 172, 79)
HSLhsl(45, 54%, 55%)
HSVhsv(45, 61%, 80%)
CMYKcmyk(0%, 15.3%, 61.1%, 20.4%)
CIE-LABlab(71.40, 0.45, 50.95)
CIE-LCHlch(71.40, 50.95, 89.50°)
OKLaboklab(75.37% -0.0018 0.1175)
OKLCHoklch(75.37% 0.118 90.9)
XYZxyz(40.7943, 42.7683, 13.5020)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC4F #4F6ECB
analogous
#CB6E4F #CBAC4F #ACCB4F
triadic
#CBAC4F #4FCBAC #AC4FCB
tetradic
#CBAC4F #4FCB6E #4F6ECB #CB4FAC
square
#CBAC4F #4FCB6E #4F6ECB #CB4FAC
split-complementary
#CBAC4F #4FACCB #6E4FCB
monochromatic
#7B6524 #AA8C32 #CBAC4F #D9C27E #E7D9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAC4F#FFFFFF#000000##000000
##CBAC4F1.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)
#BDAA45
Deuteranopia (green-blind)
#C5B353
Tritanopia (blue-blind)
#DA9F98
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac4f;
/* rgb */ color: rgb(203, 172, 79);
/* oklch */ color: oklch(75.4% 0.118 90.9);
Tailwind
colors: {
  custom: {
    50: '#dec484',
    500: '#cbac4f',
    950: '#000000',
  },
}
SCSS
$custom: #cbac4f;
$custom-light: #dec484;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac4f",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 79
  },
  "hsl": {
    "h": 45,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.75367,
    "c": 0.11755,
    "h": 90.9
  },
  "luminance": 0.42766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBAC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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