#C5BF39#C5BF39

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

Color values

HEX#C5BF39
RGBrgb(197, 191, 57)
HSLhsl(57, 55%, 50%)
HSVhsv(57, 71%, 77%)
CMYKcmyk(0%, 3%, 71.1%, 22.7%)
CIE-LABlab(75.72, -13.30, 64.49)
CIE-LCHlch(75.72, 65.84, 101.65°)
OKLaboklab(78.61% -0.0432 0.1429)
OKLCHoklch(78.61% 0.149 106.8)
XYZxyz(42.3969, 49.4288, 11.1775)
Luminance0.4943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF39 #393FC5
analogous
#C57939 #C5BF39 #85C539
triadic
#C5BF39 #39C5BF #BF39C5
tetradic
#C5BF39 #39C579 #393FC5 #C53985
square
#C5BF39 #39C579 #393FC5 #C53985
split-complementary
#C5BF39 #3985C5 #7939C5
monochromatic
#66631E #96912B #C5BF39 #D3CF68 #E1DE97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF39#FFFFFF#000000##000000
##C5BF391.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)
#CFB822
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#D3B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf39;
/* rgb */ color: rgb(197, 191, 57);
/* oklch */ color: oklch(78.6% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#dad278',
    500: '#c5bf39',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf39;
$custom-light: #dad278;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf39",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 57
  },
  "hsl": {
    "h": 57.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7861,
    "c": 0.1493,
    "h": 106.8
  },
  "luminance": 0.49427
}

Semantic roles & 50–950 ramp

primary
#C5BF39
secondary
#8D90CD
accent
#50DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C5BF39

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

Preview Lab → · Contrast checker → · Palette generator →

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