#C5BB34#C5BB34

#C5BB34 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.7% C 0.149 H 105.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#C5BB34
RGBrgb(197, 187, 52)
HSLhsl(56, 58%, 49%)
HSVhsv(56, 74%, 77%)
CMYKcmyk(0%, 5.1%, 73.6%, 22.7%)
CIE-LABlab(74.61, -11.49, 65.20)
CIE-LCHlch(74.61, 66.20, 100.00°)
OKLaboklab(77.72% -0.0386 0.1435)
OKLCHoklch(77.72% 0.149 105)
XYZxyz(41.4179, 47.6605, 10.2659)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB34 #343EC5
analogous
#C57334 #C5BB34 #87C534
triadic
#C5BB34 #34C5BB #BB34C5
tetradic
#C5BB34 #34C573 #343EC5 #C53487
square
#C5BB34 #34C573 #343EC5 #C53487
split-complementary
#C5BB34 #3487C5 #7334C5
monochromatic
#645F1A #958D27 #C5BB34 #D5CD61 #E2DC91

Accessibility & contrast

On white

1.99
#C5BB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#C5BB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB34
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB34#FFFFFF#000000##000000
##C5BB341.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB41A
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#D4AEA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bb34;
/* rgb */ color: rgb(197, 187, 52);
/* oklch */ color: oklch(77.7% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#dacf75',
    500: '#c5bb34',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb34;
$custom-light: #dacf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb34",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 52
  },
  "hsl": {
    "h": 55.862,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77719,
    "c": 0.14862,
    "h": 105
  },
  "luminance": 0.47659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5BB34

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

Preview Lab → · Contrast checker → · Palette generator →

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