#C5BB30#C5BB30

#C5BB30 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.7% C 0.151 H 105.1°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#C5BB30
RGBrgb(197, 187, 48)
HSLhsl(56, 61%, 48%)
HSVhsv(56, 76%, 77%)
CMYKcmyk(0%, 5.1%, 75.6%, 22.7%)
CIE-LABlab(74.59, -11.66, 66.52)
CIE-LCHlch(74.59, 67.54, 99.94°)
OKLaboklab(77.69% -0.0394 0.1456)
OKLCHoklch(77.69% 0.151 105.1)
XYZxyz(41.3316, 47.6260, 9.8113)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB30 #303AC5
analogous
#C57030 #C5BB30 #84C530
triadic
#C5BB30 #30C5BB #BB30C5
tetradic
#C5BB30 #30C570 #303AC5 #C53084
square
#C5BB30 #30C570 #303AC5 #C53084
split-complementary
#C5BB30 #3084C5 #7030C5
monochromatic
#635E18 #948C24 #C5BB30 #D7CF5B #E3DD8C

Accessibility & contrast

On white

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

On black

10.52
#C5BB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB30
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB30#FFFFFF#000000##000000
##C5BB301.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB410
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#D4AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5bb30;
/* rgb */ color: rgb(197, 187, 48);
/* oklch */ color: oklch(77.7% 0.151 105.1);
Tailwind
colors: {
  custom: {
    50: '#dbcf73',
    500: '#c5bb30',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb30;
$custom-light: #dbcf73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb30",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 55.973,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77694,
    "c": 0.15085,
    "h": 105.1
  },
  "luminance": 0.47624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5BB30

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

Preview Lab → · Contrast checker → · Palette generator →

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