#C5BE3C#C5BE3C

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

Color values

HEX#C5BE3C
RGBrgb(197, 190, 60)
HSLhsl(57, 54%, 50%)
HSVhsv(57, 70%, 77%)
CMYKcmyk(0%, 3.6%, 69.5%, 22.7%)
CIE-LABlab(75.47, -12.64, 63.13)
CIE-LCHlch(75.47, 64.39, 101.32°)
OKLaboklab(78.42% -0.041 0.1406)
OKLCHoklch(78.42% 0.146 106.3)
XYZxyz(42.2567, 49.0250, 11.5110)
Luminance0.4902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE3C #3C43C5
analogous
#C5793C #C5BE3C #88C53C
triadic
#C5BE3C #3CC5BE #BE3CC5
tetradic
#C5BE3C #3CC579 #3C43C5 #C53C88
square
#C5BE3C #3CC579 #3C43C5 #C53C88
split-complementary
#C5BE3C #3C88C5 #793CC5
monochromatic
#68641F #97912D #C5BE3C #D3CE6B #E1DD9A

Accessibility & contrast

On white

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

On black

10.80
#C5BE3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BE3C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BE3C#FFFFFF#000000##000000
##C5BE3C1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5be3c;
/* rgb */ color: rgb(197, 190, 60);
/* oklch */ color: oklch(78.4% 0.146 106.3);
Tailwind
colors: {
  custom: {
    50: '#dad17a',
    500: '#c5be3c',
    950: '#000000',
  },
}
SCSS
$custom: #c5be3c;
$custom-light: #dad17a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be3c",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 60
  },
  "hsl": {
    "h": 56.934,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78417,
    "c": 0.14645,
    "h": 106.3
  },
  "luminance": 0.49023
}

Semantic roles & 50–950 ramp

primary
#C5BE3C
secondary
#9093CD
accent
#52DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BE3C

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

Preview Lab → · Contrast checker → · Palette generator →

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