#C5BE3D#C5BE3D

#C5BE3D is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.4% C 0.146 H 106.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#C5BE3D
RGBrgb(197, 190, 61)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 69%, 77%)
CMYKcmyk(0%, 3.6%, 69%, 22.7%)
CIE-LABlab(75.47, -12.59, 62.76)
CIE-LCHlch(75.47, 64.01, 101.34°)
OKLaboklab(78.42% -0.0408 0.14)
OKLCHoklch(78.42% 0.146 106.2)
XYZxyz(42.2833, 49.0356, 11.6515)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE3D #3D44C5
analogous
#C57A3D #C5BE3D #88C53D
triadic
#C5BE3D #3DC5BE #BE3DC5
tetradic
#C5BE3D #3DC57A #3D44C5 #C53D88
square
#C5BE3D #3DC57A #3D44C5 #C53D88
split-complementary
#C5BE3D #3D88C5 #7A3DC5
monochromatic
#68651F #98922D #C5BE3D #D3CE6C #E1DE9B

Accessibility & contrast

On white

1.94
#C5BE3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#C5BE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BE3D
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BE3D#FFFFFF#000000##000000
##C5BE3D1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB729
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#D3B1A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5be3d;
/* rgb */ color: rgb(197, 190, 61);
/* oklch */ color: oklch(78.4% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#dad17a',
    500: '#c5be3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5be3d;
$custom-light: #dad17a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be3d",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 61
  },
  "hsl": {
    "h": 56.912,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78424,
    "c": 0.14579,
    "h": 106.2
  },
  "luminance": 0.49034
}

Semantic roles & 50–950 ramp

primary
#C5BE3D
secondary
#9194CD
accent
#52DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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