#C5BF40#C5BF40

#C5BF40 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.145 H 106.6°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#C5BF40
RGBrgb(197, 191, 64)
HSLhsl(57, 53%, 51%)
HSVhsv(57, 68%, 77%)
CMYKcmyk(0%, 3%, 67.5%, 22.7%)
CIE-LABlab(75.76, -12.94, 61.90)
CIE-LCHlch(75.76, 63.23, 101.81°)
OKLaboklab(78.66% -0.0414 0.1387)
OKLCHoklch(78.66% 0.145 106.6)
XYZxyz(42.5838, 49.5035, 12.1615)
Luminance0.4950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF40 #4046C5
analogous
#C57C40 #C5BF40 #88C540
triadic
#C5BF40 #40C5BF #BF40C5
tetradic
#C5BF40 #40C57C #4046C5 #C54088
square
#C5BF40 #40C57C #4046C5 #C54088
split-complementary
#C5BF40 #4088C5 #7C40C5
monochromatic
#6A6720 #99942F #C5BF40 #D3CF6F #E2DE9E

Accessibility & contrast

On white

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

On black

10.90
#C5BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF40
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF40#FFFFFF#000000##000000
##C5BF401.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#D3B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf40;
/* rgb */ color: rgb(197, 191, 64);
/* oklch */ color: oklch(78.7% 0.145 106.6);
Tailwind
colors: {
  custom: {
    50: '#dad27c',
    500: '#c5bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf40;
$custom-light: #dad27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf40",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 57.293,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78662,
    "c": 0.14472,
    "h": 106.6
  },
  "luminance": 0.49502
}

Semantic roles & 50–950 ramp

primary
#C5BF40
secondary
#9396CE
accent
#52DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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