#C5BF3D#C5BF3D

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

Color values

HEX#C5BF3D
RGBrgb(197, 191, 61)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 69%, 77%)
CMYKcmyk(0%, 3%, 69%, 22.7%)
CIE-LABlab(75.74, -13.10, 63.03)
CIE-LCHlch(75.74, 64.38, 101.74°)
OKLaboklab(78.64% -0.0422 0.1406)
OKLCHoklch(78.64% 0.147 106.7)
XYZxyz(42.5007, 49.4703, 11.7239)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF3D #3D43C5
analogous
#C57B3D #C5BF3D #87C53D
triadic
#C5BF3D #3DC5BF #BF3DC5
tetradic
#C5BF3D #3DC57B #3D43C5 #C53D87
square
#C5BF3D #3DC57B #3D43C5 #C53D87
split-complementary
#C5BF3D #3D87C5 #7B3DC5
monochromatic
#68651F #98932D #C5BF3D #D3CF6C #E1DE9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BF3D#FFFFFF#000000##000000
##C5BF3D1.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)
#CFB829
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#D3B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5bf3d;
/* rgb */ color: rgb(197, 191, 61);
/* oklch */ color: oklch(78.6% 0.147 106.7);
Tailwind
colors: {
  custom: {
    50: '#dad27a',
    500: '#c5bf3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf3d;
$custom-light: #dad27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf3d",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 61
  },
  "hsl": {
    "h": 57.353,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78639,
    "c": 0.14675,
    "h": 106.7
  },
  "luminance": 0.49469
}

Semantic roles & 50–950 ramp

primary
#C5BF3D
secondary
#9193CD
accent
#51DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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