#CBAC47#CBAC47

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

Color values

HEX#CBAC47
RGBrgb(203, 172, 71)
HSLhsl(46, 56%, 54%)
HSVhsv(46, 65%, 80%)
CMYKcmyk(0%, 15.3%, 65%, 20.4%)
CIE-LABlab(71.32, -0.08, 54.51)
CIE-LCHlch(71.32, 54.51, 90.08°)
OKLaboklab(75.28% -0.0043 0.124)
OKLCHoklch(75.28% 0.124 92)
XYZxyz(40.5204, 42.6587, 12.0597)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC47 #4766CB
analogous
#CB6A47 #CBAC47 #A8CB47
triadic
#CBAC47 #47CBAC #AC47CB
tetradic
#CBAC47 #47CB6A #4766CB #CB47A8
square
#CBAC47 #47CB6A #4766CB #CB47A8
split-complementary
#CBAC47 #47A8CB #6A47CB
monochromatic
#766221 #A68A2F #CBAC47 #D8C277 #E6D7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAC47#FFFFFF#000000##000000
##CBAC471.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)
#BEA93B
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac47;
/* rgb */ color: rgb(203, 172, 71);
/* oklch */ color: oklch(75.3% 0.124 92.0);
Tailwind
colors: {
  custom: {
    50: '#dec47f',
    500: '#cbac47',
    950: '#000000',
  },
}
SCSS
$custom: #cbac47;
$custom-light: #dec47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac47",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 45.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75284,
    "c": 0.12406,
    "h": 92
  },
  "luminance": 0.42656
}

Semantic roles & 50–950 ramp

primary
#CBAC47
secondary
#9BA8D3
accent
#6CDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAC47

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

Preview Lab → · Contrast checker → · Palette generator →

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