#C5BF25#C5BF25

#C5BF25 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.5% C 0.160 H 107.2°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C5BF25
RGBrgb(197, 191, 37)
HSLhsl(58, 68%, 46%)
HSVhsv(58, 81%, 77%)
CMYKcmyk(0%, 3%, 81.2%, 22.7%)
CIE-LABlab(75.62, -14.09, 70.69)
CIE-LCHlch(75.62, 72.08, 101.27°)
OKLaboklab(78.5% -0.0471 0.1525)
OKLCHoklch(78.5% 0.16 107.2)
XYZxyz(41.9925, 49.2670, 9.0474)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BF25 #252BC5
analogous
#C56F25 #C5BF25 #7BC525
triadic
#C5BF25 #25C5BF #BF25C5
tetradic
#C5BF25 #25C56F #252BC5 #C5257B
square
#C5BF25 #25C56F #252BC5 #C5257B
split-complementary
#C5BF25 #257BC5 #6F25C5
monochromatic
#5E5B12 #918D1B #C5BF25 #DDD84A #E7E37E

Accessibility & contrast

On white

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

On black

10.85
#C5BF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BF25
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BF25#FFFFFF#000000##000000
##C5BF251.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D3BD33
Tritanopia (blue-blind)
#D4B2A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5bf25;
/* rgb */ color: rgb(197, 191, 37);
/* oklch */ color: oklch(78.5% 0.160 107.2);
Tailwind
colors: {
  custom: {
    50: '#dbd26f',
    500: '#c5bf25',
    950: '#000000',
  },
}
SCSS
$custom: #c5bf25;
$custom-light: #dbd26f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5bf25",
  "rgb": {
    "r": 197,
    "g": 191,
    "b": 37
  },
  "hsl": {
    "h": 57.75,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.78498,
    "c": 0.1596,
    "h": 107.2
  },
  "luminance": 0.49265
}

Semantic roles & 50–950 ramp

primary
#C5BF25
secondary
#777ACF
accent
#43EB3D
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161408
muted
#84827B

Preview Lab

Preview with #C5BF25

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

Preview Lab → · Contrast checker → · Palette generator →

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