#CBAC4D#CBAC4D

#CBAC4D is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.119 H 91.2°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CBAC4D
RGBrgb(203, 172, 77)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 62%, 80%)
CMYKcmyk(0%, 15.3%, 62.1%, 20.4%)
CIE-LABlab(71.38, 0.31, 51.86)
CIE-LCHlch(71.38, 51.86, 89.66°)
OKLaboklab(75.35% -0.0025 0.1192)
OKLCHoklch(75.35% 0.119 91.2)
XYZxyz(40.7226, 42.7396, 13.1243)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC4D #4D6CCB
analogous
#CB6D4D #CBAC4D #ABCB4D
triadic
#CBAC4D #4DCBAC #AC4DCB
tetradic
#CBAC4D #4DCB6D #4D6CCB #CB4DAB
square
#CBAC4D #4DCB6D #4D6CCB #CB4DAB
split-complementary
#CBAC4D #4DABCB #6D4DCB
monochromatic
#7A6524 #A98C31 #CBAC4D #D9C27C #E7D8AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAC4D#FFFFFF#000000##000000
##CBAC4D1.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)
#BDAA43
Deuteranopia (green-blind)
#C5B351
Tritanopia (blue-blind)
#DB9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac4d;
/* rgb */ color: rgb(203, 172, 77);
/* oklch */ color: oklch(75.3% 0.119 91.2);
Tailwind
colors: {
  custom: {
    50: '#dec482',
    500: '#cbac4d',
    950: '#000000',
  },
}
SCSS
$custom: #cbac4d;
$custom-light: #dec482;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac4d",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 77
  },
  "hsl": {
    "h": 45.238,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.75345,
    "c": 0.11923,
    "h": 91.2
  },
  "luminance": 0.42737
}

Semantic roles & 50–950 ramp

primary
#CBAC4D
secondary
#9FACD4
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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