#C5BF45#C5BF45

#C5BF45 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.141 H 106.5°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C5BF45
RGBrgb(197, 191, 69)
HSLhsl(57, 52%, 52%)
HSVhsv(57, 65%, 77%)
CMYKcmyk(0%, 3%, 65%, 22.7%)
CIE-LABlab(75.80, -12.65, 59.93)
CIE-LCHlch(75.80, 61.25, 101.92°)
OKLaboklab(78.7% -0.0401 0.1353)
OKLCHoklch(78.7% 0.141 106.5)
XYZxyz(42.7325, 49.5630, 12.9447)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF45 #454BC5
analogous
#C57F45 #C5BF45 #8BC545
triadic
#C5BF45 #45C5BF #BF45C5
tetradic
#C5BF45 #45C57F #454BC5 #C5458B
square
#C5BF45 #45C57F #454BC5 #C5458B
split-complementary
#C5BF45 #458BC5 #7F45C5
monochromatic
#6D6A22 #9C9731 #C5BF45 #D4CF74 #E2DFA2

Accessibility & contrast

On white

1.92
#C5BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#C5BF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF45
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF45#FFFFFF#000000##000000
##C5BF451.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB835
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#D3B3A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf45;
/* rgb */ color: rgb(197, 191, 69);
/* oklch */ color: oklch(78.7% 0.141 106.5);
Tailwind
colors: {
  custom: {
    50: '#dad27f',
    500: '#c5bf45',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf45;
$custom-light: #dad27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf45",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 57.188,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78703,
    "c": 0.14115,
    "h": 106.5
  },
  "luminance": 0.49562
}

Semantic roles & 50–950 ramp

primary
#C5BF45
secondary
#979ACF
accent
#53DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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