#C5BC3F#C5BC3F

#C5BC3F 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#C5BC3F
RGBrgb(197, 188, 63)
HSLhsl(56, 54%, 51%)
HSVhsv(56, 68%, 77%)
CMYKcmyk(0%, 4.6%, 68%, 22.7%)
CIE-LABlab(74.95, -11.46, 61.46)
CIE-LCHlch(74.95, 62.52, 100.56°)
OKLaboklab(78.01% -0.0374 0.1376)
OKLCHoklch(78.01% 0.143 105.2)
XYZxyz(41.9080, 48.1972, 11.7971)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BC3F #3F48C5
analogous
#C5793F #C5BC3F #8BC53F
triadic
#C5BC3F #3FC5BC #BC3FC5
tetradic
#C5BC3F #3FC579 #3F48C5 #C53F8B
square
#C5BC3F #3FC579 #3F48C5 #C53F8B
split-complementary
#C5BC3F #3F8BC5 #793FC5
monochromatic
#6A6520 #99922E #C5BC3F #D3CC6E #E1DD9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BC3F#FFFFFF#000000##000000
##C5BC3F1.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)
#CCB52D
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#D3B0A3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c5bc3f;
/* rgb */ color: rgb(197, 188, 63);
/* oklch */ color: oklch(78.0% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#dacf7b',
    500: '#c5bc3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5bc3f;
$custom-light: #dacf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bc3f",
  "rgb": {
    "r": 197,
    "g": 188,
    "b": 63
  },
  "hsl": {
    "h": 55.97,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78011,
    "c": 0.14257,
    "h": 105.2
  },
  "luminance": 0.48196
}

Semantic roles & 50–950 ramp

primary
#C5BC3F
secondary
#9296CE
accent
#55DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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