#C5BC30#C5BC30

#C5BC30 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.9% C 0.152 H 105.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#C5BC30
RGBrgb(197, 188, 48)
HSLhsl(56, 61%, 48%)
HSVhsv(56, 76%, 77%)
CMYKcmyk(0%, 4.6%, 75.6%, 22.7%)
CIE-LABlab(74.86, -12.17, 66.77)
CIE-LCHlch(74.86, 67.87, 100.33°)
OKLaboklab(77.91% -0.0408 0.1461)
OKLCHoklch(77.91% 0.152 105.6)
XYZxyz(41.5444, 48.0517, 9.8823)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC30 #3039C5
analogous
#C57130 #C5BC30 #83C530
triadic
#C5BC30 #30C5BC #BC30C5
tetradic
#C5BC30 #30C571 #3039C5 #C53083
square
#C5BC30 #30C571 #3039C5 #C53083
split-complementary
#C5BC30 #3083C5 #7130C5
monochromatic
#635E18 #948D24 #C5BC30 #D7D05B #E3DE8C

Accessibility & contrast

On white

1.98
#C5BC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#C5BC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BC30
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BC30#FFFFFF#000000##000000
##C5BC301.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50F
Deuteranopia (green-blind)
#D0BB3B
Tritanopia (blue-blind)
#D4AFA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bc30;
/* rgb */ color: rgb(197, 188, 48);
/* oklch */ color: oklch(77.9% 0.152 105.6);
Tailwind
colors: {
  custom: {
    50: '#dacf74',
    500: '#c5bc30',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc30;
$custom-light: #dacf74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc30",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 48
  },
  "hsl": {
    "h": 56.376,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77909,
    "c": 0.15173,
    "h": 105.6
  },
  "luminance": 0.4805
}

Semantic roles & 50–950 ramp

primary
#C5BC30
secondary
#8488CD
accent
#4EE444
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BC30

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

Preview Lab → · Contrast checker → · Palette generator →

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