#C5BB38#C5BB38

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

Color values

HEX#C5BB38
RGBrgb(197, 187, 56)
HSLhsl(56, 56%, 50%)
HSVhsv(56, 72%, 77%)
CMYKcmyk(0%, 5.1%, 71.6%, 22.7%)
CIE-LABlab(74.63, -11.31, 63.80)
CIE-LCHlch(74.63, 64.79, 100.05°)
OKLaboklab(77.75% -0.0377 0.1413)
OKLCHoklch(77.75% 0.146 104.9)
XYZxyz(41.5118, 47.6981, 10.7606)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BB38 #3842C5
analogous
#C57538 #C5BB38 #88C538
triadic
#C5BB38 #38C5BB #BB38C5
tetradic
#C5BB38 #38C575 #3842C5 #C53888
square
#C5BB38 #38C575 #3842C5 #C53888
split-complementary
#C5BB38 #3888C5 #7538C5
monochromatic
#66611D #958E2A #C5BB38 #D4CC67 #E1DC96

Accessibility & contrast

On white

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

On black

10.54
#C5BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BB38
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BB38#FFFFFF#000000##000000
##C5BB381.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5bb38;
/* rgb */ color: rgb(197, 187, 56);
/* oklch */ color: oklch(77.7% 0.146 104.9);
Tailwind
colors: {
  custom: {
    50: '#dacf77',
    500: '#c5bb38',
    950: '#000000',
  },
}
SCSS
$custom: #c5bb38;
$custom-light: #dacf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bb38",
  "rgb": {
    "r": 197,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 55.745,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77745,
    "c": 0.14623,
    "h": 104.9
  },
  "luminance": 0.47696
}

Semantic roles & 50–950 ramp

primary
#C5BB38
secondary
#8C91CD
accent
#53DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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