#C5BA43#C5BA43

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

Color values

HEX#C5BA43
RGBrgb(197, 186, 67)
HSLhsl(55, 53%, 52%)
HSVhsv(55, 66%, 77%)
CMYKcmyk(0%, 5.6%, 66%, 22.7%)
CIE-LABlab(74.44, -10.21, 59.34)
CIE-LCHlch(74.44, 60.21, 99.76°)
OKLaboklab(77.62% -0.0334 0.1338)
OKLCHoklch(77.62% 0.138 104)
XYZxyz(41.5996, 47.3950, 12.2660)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA43 #434EC5
analogous
#C57943 #C5BA43 #8FC543
triadic
#C5BA43 #43C5BA #BA43C5
tetradic
#C5BA43 #43C579 #434EC5 #C5438F
square
#C5BA43 #43C579 #434EC5 #C5438F
split-complementary
#C5BA43 #438FC5 #7943C5
monochromatic
#6C6621 #9B9230 #C5BA43 #D3CB72 #E2DCA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BA43#FFFFFF#000000##000000
##C5BA431.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)
#CAB433
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#D3AEA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba43;
/* rgb */ color: rgb(197, 186, 67);
/* oklch */ color: oklch(77.6% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#dace7d',
    500: '#c5ba43',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba43;
$custom-light: #dace7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba43",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 67
  },
  "hsl": {
    "h": 54.923,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77616,
    "c": 0.13787,
    "h": 104
  },
  "luminance": 0.47393
}

Semantic roles & 50–950 ramp

primary
#C5BA43
secondary
#959ACE
accent
#58DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BA43

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

Preview Lab → · Contrast checker → · Palette generator →

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