#C5BF3A#C5BF3A

#C5BF3A 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#C5BF3A
RGBrgb(197, 191, 58)
HSLhsl(57, 55%, 50%)
HSVhsv(57, 71%, 77%)
CMYKcmyk(0%, 3%, 70.6%, 22.7%)
CIE-LABlab(75.72, -13.25, 64.13)
CIE-LCHlch(75.72, 65.48, 101.67°)
OKLaboklab(78.62% -0.0429 0.1424)
OKLCHoklch(78.62% 0.149 106.8)
XYZxyz(42.4221, 49.4389, 11.3102)
Luminance0.4944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF3A #3A40C5
analogous
#C5793A #C5BF3A #86C53A
triadic
#C5BF3A #3AC5BF #BF3AC5
tetradic
#C5BF3A #3AC579 #3A40C5 #C53A86
square
#C5BF3A #3AC579 #3A40C5 #C53A86
split-complementary
#C5BF3A #3A86C5 #793AC5
monochromatic
#66631E #96912C #C5BF3A #D3CE69 #E1DE99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #c5bf3a;
/* rgb */ color: rgb(197, 191, 58);
/* oklch */ color: oklch(78.6% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#dad279',
    500: '#c5bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf3a;
$custom-light: #dad279;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf3a",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 57.41,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.78617,
    "c": 0.14868,
    "h": 106.8
  },
  "luminance": 0.49437
}

Semantic roles & 50–950 ramp

primary
#C5BF3A
secondary
#8E91CD
accent
#50DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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