#C5BF31#C5BF31

#C5BF31 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.6% C 0.154 H 107.0°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#C5BF31
RGBrgb(197, 191, 49)
HSLhsl(58, 60%, 48%)
HSVhsv(58, 75%, 77%)
CMYKcmyk(0%, 3%, 75.1%, 22.7%)
CIE-LABlab(75.67, -13.66, 67.20)
CIE-LCHlch(75.67, 68.57, 101.49°)
OKLaboklab(78.56% -0.0449 0.1472)
OKLCHoklch(78.56% 0.154 107)
XYZxyz(42.2128, 49.3552, 10.2081)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF31 #3137C5
analogous
#C57531 #C5BF31 #81C531
triadic
#C5BF31 #31C5BF #BF31C5
tetradic
#C5BF31 #31C575 #3137C5 #C53181
square
#C5BF31 #31C575 #3137C5 #C53181
split-complementary
#C5BF31 #3181C5 #7531C5
monochromatic
#636019 #948F25 #C5BF31 #D7D25D #E3DF8E

Accessibility & contrast

On white

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

On black

10.87
#C5BF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF31
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF31#FFFFFF#000000##000000
##C5BF311.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB810
Deuteranopia (green-blind)
#D2BD3C
Tritanopia (blue-blind)
#D4B2A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5bf31;
/* rgb */ color: rgb(197, 191, 49);
/* oklch */ color: oklch(78.6% 0.154 107.0);
Tailwind
colors: {
  custom: {
    50: '#dad274',
    500: '#c5bf31',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf31;
$custom-light: #dad274;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf31",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 57.568,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78559,
    "c": 0.15393,
    "h": 107
  },
  "luminance": 0.49354
}

Semantic roles & 50–950 ramp

primary
#C5BF31
secondary
#8588CD
accent
#4BE344
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C5BF31

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

Preview Lab → · Contrast checker → · Palette generator →

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