#C5BF3C#C5BF3C

#C5BF3C is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.6% C 0.147 H 106.7°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C5BF3C
RGBrgb(197, 191, 60)
HSLhsl(57, 54%, 50%)
HSVhsv(57, 70%, 77%)
CMYKcmyk(0%, 3%, 69.5%, 22.7%)
CIE-LABlab(75.74, -13.15, 63.40)
CIE-LCHlch(75.74, 64.75, 101.72°)
OKLaboklab(78.63% -0.0424 0.1412)
OKLCHoklch(78.63% 0.147 106.7)
XYZxyz(42.4740, 49.4596, 11.5834)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF3C #3C42C5
analogous
#C57A3C #C5BF3C #87C53C
triadic
#C5BF3C #3CC5BF #BF3CC5
tetradic
#C5BF3C #3CC57A #3C42C5 #C53C87
square
#C5BF3C #3CC57A #3C42C5 #C53C87
split-complementary
#C5BF3C #3C87C5 #7A3CC5
monochromatic
#68651F #97922D #C5BF3C #D3CE6B #E1DE9A

Accessibility & contrast

On white

1.93
#C5BF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#C5BF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF3C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF3C#FFFFFF#000000##000000
##C5BF3C1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB827
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#D3B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf3c;
/* rgb */ color: rgb(197, 191, 60);
/* oklch */ color: oklch(78.6% 0.147 106.7);
Tailwind
colors: {
  custom: {
    50: '#dad27a',
    500: '#c5bf3c',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf3c;
$custom-light: #dad27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf3c",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 60
  },
  "hsl": {
    "h": 57.372,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78631,
    "c": 0.1474,
    "h": 106.7
  },
  "luminance": 0.49458
}

Semantic roles & 50–950 ramp

primary
#C5BF3C
secondary
#9093CD
accent
#51DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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