#C5BA4E#C5BA4E

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

Color values

HEX#C5BA4E
RGBrgb(197, 186, 78)
HSLhsl(54, 51%, 54%)
HSVhsv(54, 60%, 77%)
CMYKcmyk(0%, 5.6%, 60.4%, 22.7%)
CIE-LABlab(74.53, -9.51, 54.74)
CIE-LCHlch(74.53, 55.56, 99.86°)
OKLaboklab(77.72% -0.0302 0.1256)
OKLCHoklch(77.72% 0.129 103.5)
XYZxyz(41.9615, 47.5397, 14.1720)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA4E #4E59C5
analogous
#C57F4E #C5BA4E #95C54E
triadic
#C5BA4E #4EC5BA #BA4EC5
tetradic
#C5BA4E #4EC57F #4E59C5 #C54E95
square
#C5BA4E #4EC57F #4E59C5 #C54E95
split-complementary
#C5BA4E #4E95C5 #7F4EC5
monochromatic
#736C26 #A19735 #C5BA4E #D4CC7C #E3DEAA

Accessibility & contrast

On white

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

On black

10.51
#C5BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA4E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA4E#FFFFFF#000000##000000
##C5BA4E1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#CDBA54
Tritanopia (blue-blind)
#D3AEA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba4e;
/* rgb */ color: rgb(197, 186, 78);
/* oklch */ color: oklch(77.7% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#d9ce84',
    500: '#c5ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba4e;
$custom-light: #d9ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba4e",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 54.454,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77719,
    "c": 0.12919,
    "h": 103.5
  },
  "luminance": 0.47538
}

Semantic roles & 50–950 ramp

primary
#C5BA4E
secondary
#9EA3D1
accent
#5BDA4E
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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