#CBAC45#CBAC45

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

Color values

HEX#CBAC45
RGBrgb(203, 172, 69)
HSLhsl(46, 56%, 53%)
HSVhsv(46, 66%, 80%)
CMYKcmyk(0%, 15.3%, 66%, 20.4%)
CIE-LABlab(71.31, -0.20, 55.37)
CIE-LCHlch(71.31, 55.37, 90.21°)
OKLaboklab(75.27% -0.0049 0.1255)
OKLCHoklch(75.27% 0.126 92.3)
XYZxyz(40.4573, 42.6335, 11.7272)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC45 #4564CB
analogous
#CB6945 #CBAC45 #A7CB45
triadic
#CBAC45 #45CBAC #AC45CB
tetradic
#CBAC45 #45CB69 #4564CB #CB45A7
square
#CBAC45 #45CB69 #4564CB #CB45A7
split-complementary
#CBAC45 #45A7CB #6945CB
monochromatic
#756121 #A5892E #CBAC45 #D8C175 #E6D7A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAC45#FFFFFF#000000##000000
##CBAC451.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)
#BEA939
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac45;
/* rgb */ color: rgb(203, 172, 69);
/* oklch */ color: oklch(75.3% 0.126 92.3);
Tailwind
colors: {
  custom: {
    50: '#dec47d',
    500: '#cbac45',
    950: '#000000',
  },
}
SCSS
$custom: #cbac45;
$custom-light: #dec47d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac45",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 46.119,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75265,
    "c": 0.12559,
    "h": 92.3
  },
  "luminance": 0.42631
}

Semantic roles & 50–950 ramp

primary
#CBAC45
secondary
#99A6D3
accent
#6BE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAC45

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

Preview Lab → · Contrast checker → · Palette generator →

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