#CBAC3F#CBAC3F

#CBAC3F is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.130 H 92.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CBAC3F
RGBrgb(203, 172, 63)
HSLhsl(47, 57%, 52%)
HSVhsv(47, 69%, 80%)
CMYKcmyk(0%, 15.3%, 69%, 20.4%)
CIE-LABlab(71.26, -0.54, 57.88)
CIE-LCHlch(71.26, 57.88, 90.54°)
OKLaboklab(75.21% -0.0066 0.1298)
OKLCHoklch(75.21% 0.13 92.9)
XYZxyz(40.2804, 42.5627, 10.7954)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC3F #3F5ECB
analogous
#CB663F #CBAC3F #A4CB3F
triadic
#CBAC3F #3FCBAC #AC3FCB
tetradic
#CBAC3F #3FCB66 #3F5ECB #CB3FA4
square
#CBAC3F #3FCB66 #3F5ECB #CB3FA4
split-complementary
#CBAC3F #3FA4CB #663FCB
monochromatic
#715F1F #A1872C #CBAC3F #D8C16F #E5D69F

Accessibility & contrast

On white

2.21
#CBAC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CBAC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC3F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC3F#FFFFFF#000000##000000
##CBAC3F1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA930
Deuteranopia (green-blind)
#C6B245
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbac3f;
/* rgb */ color: rgb(203, 172, 63);
/* oklch */ color: oklch(75.2% 0.130 92.9);
Tailwind
colors: {
  custom: {
    50: '#dfc47a',
    500: '#cbac3f',
    950: '#000000',
  },
}
SCSS
$custom: #cbac3f;
$custom-light: #dfc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac3f",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 46.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.12998,
    "h": 92.9
  },
  "luminance": 0.4256
}

Semantic roles & 50–950 ramp

primary
#CBAC3F
secondary
#94A2D1
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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