#C4BA3A#C4BA3A

#C4BA3A is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.144 H 104.8°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C4BA3A
RGBrgb(196, 186, 58)
HSLhsl(56, 54%, 50%)
HSVhsv(56, 70%, 77%)
CMYKcmyk(0%, 5.1%, 70.4%, 23.1%)
CIE-LABlab(74.29, -11.13, 62.70)
CIE-LCHlch(74.29, 63.68, 100.06°)
OKLaboklab(77.46% -0.0369 0.1394)
OKLCHoklch(77.46% 0.144 104.8)
XYZxyz(41.0893, 47.1606, 10.9407)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4BA3A #3A44C4
analogous
#C4753A #C4BA3A #89C43A
triadic
#C4BA3A #3AC4BA #BA3AC4
tetradic
#C4BA3A #3AC475 #3A44C4 #C43A89
square
#C4BA3A #3AC475 #3A44C4 #C43A89
split-complementary
#C4BA3A #3A89C4 #753AC4
monochromatic
#66601E #958D2C #C4BA3A #D3CB69 #E0DB98

Accessibility & contrast

On white

2.01
#C4BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#C4BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4BA3A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4BA3A#FFFFFF#000000##000000
##C4BA3A1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB325
Deuteranopia (green-blind)
#CEB943
Tritanopia (blue-blind)
#D2ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c4ba3a;
/* rgb */ color: rgb(196, 186, 58);
/* oklch */ color: oklch(77.5% 0.144 104.8);
Tailwind
colors: {
  custom: {
    50: '#d9ce78',
    500: '#c4ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #c4ba3a;
$custom-light: #d9ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ba3a",
  "rgb": {
    "r": 196,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 55.652,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77457,
    "c": 0.14416,
    "h": 104.8
  },
  "luminance": 0.47159
}

Semantic roles & 50–950 ramp

primary
#C4BA3A
secondary
#8E92CC
accent
#55DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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