#C5BA45#C5BA45

#C5BA45 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.6% C 0.136 H 103.9°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C5BA45
RGBrgb(197, 186, 69)
HSLhsl(55, 52%, 52%)
HSVhsv(55, 65%, 77%)
CMYKcmyk(0%, 5.6%, 65%, 22.7%)
CIE-LABlab(74.46, -10.09, 58.53)
CIE-LCHlch(74.46, 59.40, 99.78°)
OKLaboklab(77.63% -0.0328 0.1324)
OKLCHoklch(77.63% 0.136 103.9)
XYZxyz(41.6606, 47.4194, 12.5874)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA45 #4550C5
analogous
#C57A45 #C5BA45 #90C545
triadic
#C5BA45 #45C5BA #BA45C5
tetradic
#C5BA45 #45C57A #4550C5 #C54590
square
#C5BA45 #45C57A #4550C5 #C54590
split-complementary
#C5BA45 #4590C5 #7A45C5
monochromatic
#6D6722 #9C9331 #C5BA45 #D4CB74 #E2DDA2

Accessibility & contrast

On white

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

On black

10.48
#C5BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA45
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA45#FFFFFF#000000##000000
##C5BA451.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ba45;
/* rgb */ color: rgb(197, 186, 69);
/* oklch */ color: oklch(77.6% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#dace7e',
    500: '#c5ba45',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba45;
$custom-light: #dace7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba45",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 54.844,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77634,
    "c": 0.13638,
    "h": 103.9
  },
  "luminance": 0.47418
}

Semantic roles & 50–950 ramp

primary
#C5BA45
secondary
#979CCF
accent
#58DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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