#C5BC3E#C5BC3E

#C5BC3E is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.0% C 0.143 H 105.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#C5BC3E
RGBrgb(197, 188, 62)
HSLhsl(56, 54%, 51%)
HSVhsv(56, 69%, 77%)
CMYKcmyk(0%, 4.6%, 68.5%, 22.7%)
CIE-LABlab(74.94, -11.52, 61.85)
CIE-LCHlch(74.94, 62.91, 100.55°)
OKLaboklab(78% -0.0376 0.1382)
OKLCHoklch(78% 0.143 105.2)
XYZxyz(41.8803, 48.1861, 11.6513)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC3E #3E47C5
analogous
#C5783E #C5BC3E #8AC53E
triadic
#C5BC3E #3EC5BC #BC3EC5
tetradic
#C5BC3E #3EC578 #3E47C5 #C53E8A
square
#C5BC3E #3EC578 #3E47C5 #C53E8A
split-complementary
#C5BC3E #3E8AC5 #783EC5
monochromatic
#696420 #98912E #C5BC3E #D3CC6D #E1DD9C

Accessibility & contrast

On white

1.97
#C5BC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#C5BC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BC3E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BC3E#FFFFFF#000000##000000
##C5BC3E1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52B
Deuteranopia (green-blind)
#CFBB46
Tritanopia (blue-blind)
#D3B0A3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bc3e;
/* rgb */ color: rgb(197, 188, 62);
/* oklch */ color: oklch(78.0% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#dacf7b',
    500: '#c5bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc3e;
$custom-light: #dacf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc3e",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 56,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78003,
    "c": 0.14325,
    "h": 105.2
  },
  "luminance": 0.48185
}

Semantic roles & 50–950 ramp

primary
#C5BC3E
secondary
#9195CD
accent
#54DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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