#C5BA34#C5BA34

#C5BA34 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.148 H 104.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C5BA34
RGBrgb(197, 186, 52)
HSLhsl(55, 58%, 49%)
HSVhsv(55, 74%, 77%)
CMYKcmyk(0%, 5.6%, 73.6%, 22.7%)
CIE-LABlab(74.34, -10.98, 64.94)
CIE-LCHlch(74.34, 65.86, 99.60°)
OKLaboklab(77.51% -0.0371 0.143)
OKLCHoklch(77.51% 0.148 104.6)
XYZxyz(41.2065, 47.2377, 10.1954)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA34 #343FC5
analogous
#C57234 #C5BA34 #88C534
triadic
#C5BA34 #34C5BA #BA34C5
tetradic
#C5BA34 #34C572 #343FC5 #C53488
square
#C5BA34 #34C572 #343FC5 #C53488
split-complementary
#C5BA34 #3488C5 #7234C5
monochromatic
#645F1A #958C27 #C5BA34 #D5CC61 #E2DC91

Accessibility & contrast

On white

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

On black

10.45
#C5BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA34
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA34#FFFFFF#000000##000000
##C5BA341.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB31A
Deuteranopia (green-blind)
#CEBA3E
Tritanopia (blue-blind)
#D4ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba34;
/* rgb */ color: rgb(197, 186, 52);
/* oklch */ color: oklch(77.5% 0.148 104.6);
Tailwind
colors: {
  custom: {
    50: '#dace75',
    500: '#c5ba34',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba34;
$custom-light: #dace75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba34",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 55.448,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77505,
    "c": 0.14773,
    "h": 104.6
  },
  "luminance": 0.47236
}

Semantic roles & 50–950 ramp

primary
#C5BA34
secondary
#888DCD
accent
#52E146
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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