#C5BA4A#C5BA4A

#C5BA4A is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.7% C 0.132 H 103.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#C5BA4A
RGBrgb(197, 186, 74)
HSLhsl(55, 51%, 53%)
HSVhsv(55, 62%, 77%)
CMYKcmyk(0%, 5.6%, 62.4%, 22.7%)
CIE-LABlab(74.50, -9.78, 56.45)
CIE-LCHlch(74.50, 57.29, 99.83°)
OKLaboklab(77.68% -0.0314 0.1287)
OKLCHoklch(77.68% 0.132 103.7)
XYZxyz(41.8224, 47.4841, 13.4396)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA4A #4A55C5
analogous
#C57C4A #C5BA4A #92C54A
triadic
#C5BA4A #4AC5BA #BA4AC5
tetradic
#C5BA4A #4AC57C #4A55C5 #C54A92
square
#C5BA4A #4AC57C #4A55C5 #C54A92
split-complementary
#C5BA4A #4A92C5 #7C4AC5
monochromatic
#716A24 #9F9533 #C5BA4A #D4CC78 #E3DDA7

Accessibility & contrast

On white

2.00
#C5BA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#C5BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA4A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA4A#FFFFFF#000000##000000
##C5BA4A1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43D
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#D3AEA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba4a;
/* rgb */ color: rgb(197, 186, 74);
/* oklch */ color: oklch(77.7% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#d9ce81',
    500: '#c5ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba4a;
$custom-light: #d9ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba4a",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 54.634,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7768,
    "c": 0.13248,
    "h": 103.7
  },
  "luminance": 0.47483
}

Semantic roles & 50–950 ramp

primary
#C5BA4A
secondary
#9BA0D0
accent
#5ADB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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