#C5BF34#C5BF34

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

Color values

HEX#C5BF34
RGBrgb(197, 191, 52)
HSLhsl(58, 58%, 49%)
HSVhsv(58, 74%, 77%)
CMYKcmyk(0%, 3%, 73.6%, 22.7%)
CIE-LABlab(75.69, -13.53, 66.21)
CIE-LCHlch(75.69, 67.58, 101.55°)
OKLaboklab(78.58% -0.0443 0.1457)
OKLCHoklch(78.58% 0.152 106.9)
XYZxyz(42.2783, 49.3813, 10.5527)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF34 #343AC5
analogous
#C57734 #C5BF34 #83C534
triadic
#C5BF34 #34C5BF #BF34C5
tetradic
#C5BF34 #34C577 #343AC5 #C53483
square
#C5BF34 #34C577 #343AC5 #C53483
split-complementary
#C5BF34 #3483C5 #7734C5
monochromatic
#64611A #959027 #C5BF34 #D5D061 #E2DF91

Accessibility & contrast

On white

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

On black

10.88
#C5BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF34
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF34#FFFFFF#000000##000000
##C5BF341.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5bf34;
/* rgb */ color: rgb(197, 191, 52);
/* oklch */ color: oklch(78.6% 0.152 106.9);
Tailwind
colors: {
  custom: {
    50: '#dad276',
    500: '#c5bf34',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf34;
$custom-light: #dad276;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf34",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 57.517,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78577,
    "c": 0.15227,
    "h": 106.9
  },
  "luminance": 0.4938
}

Semantic roles & 50–950 ramp

primary
#C5BF34
secondary
#888BCD
accent
#4DE146
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C5BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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