#CBAC48#CBAC48

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

Color values

HEX#CBAC48
RGBrgb(203, 172, 72)
HSLhsl(46, 56%, 54%)
HSVhsv(46, 65%, 80%)
CMYKcmyk(0%, 15.3%, 64.5%, 20.4%)
CIE-LABlab(71.33, -0.02, 54.07)
CIE-LCHlch(71.33, 54.07, 90.02°)
OKLaboklab(75.29% -0.004 0.1232)
OKLCHoklch(75.29% 0.123 91.9)
XYZxyz(40.5528, 42.6717, 12.2301)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC48 #4867CB
analogous
#CB6B48 #CBAC48 #A8CB48
triadic
#CBAC48 #48CBAC #AC48CB
tetradic
#CBAC48 #48CB6B #4867CB #CB48A8
square
#CBAC48 #48CB6B #4867CB #CB48A8
split-complementary
#CBAC48 #48A8CB #6B48CB
monochromatic
#776322 #A68A2F #CBAC48 #D9C278 #E6D7A7

Accessibility & contrast

On white

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

On black

9.53
#CBAC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC48
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC48#FFFFFF#000000##000000
##CBAC481.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbac48;
/* rgb */ color: rgb(203, 172, 72);
/* oklch */ color: oklch(75.3% 0.123 91.9);
Tailwind
colors: {
  custom: {
    50: '#dec47f',
    500: '#cbac48',
    950: '#000000',
  },
}
SCSS
$custom: #cbac48;
$custom-light: #dec47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac48",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 45.802,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75294,
    "c": 0.12327,
    "h": 91.9
  },
  "luminance": 0.42669
}

Semantic roles & 50–950 ramp

primary
#CBAC48
secondary
#9BA9D3
accent
#6CDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAC48

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

Preview Lab → · Contrast checker → · Palette generator →

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