#C5BA3A#C5BA3A

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

Color values

HEX#C5BA3A
RGBrgb(197, 186, 58)
HSLhsl(55, 55%, 50%)
HSVhsv(55, 71%, 77%)
CMYKcmyk(0%, 5.6%, 70.6%, 22.7%)
CIE-LABlab(74.38, -10.70, 62.81)
CIE-LCHlch(74.38, 63.71, 99.67°)
OKLaboklab(77.55% -0.0357 0.1396)
OKLCHoklch(77.55% 0.144 104.4)
XYZxyz(41.3503, 47.2952, 10.9529)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA3A #3A45C5
analogous
#C5753A #C5BA3A #8AC53A
triadic
#C5BA3A #3AC5BA #BA3AC5
tetradic
#C5BA3A #3AC575 #3A45C5 #C53A8A
square
#C5BA3A #3AC575 #3A45C5 #C53A8A
split-complementary
#C5BA3A #3A8AC5 #753AC5
monochromatic
#66611E #968D2C #C5BA3A #D3CB69 #E1DB99

Accessibility & contrast

On white

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

On black

10.46
#C5BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA3A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA3A#FFFFFF#000000##000000
##C5BA3A1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB425
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#D4ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba3a;
/* rgb */ color: rgb(197, 186, 58);
/* oklch */ color: oklch(77.5% 0.144 104.4);
Tailwind
colors: {
  custom: {
    50: '#dace78',
    500: '#c5ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba3a;
$custom-light: #dace78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba3a",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 55.252,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.77546,
    "c": 0.14406,
    "h": 104.4
  },
  "luminance": 0.47294
}

Semantic roles & 50–950 ramp

primary
#C5BA3A
secondary
#8E93CD
accent
#56DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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