#C5BE3E#C5BE3E

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

Color values

HEX#C5BE3E
RGBrgb(197, 190, 62)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 69%, 77%)
CMYKcmyk(0%, 3.6%, 68.5%, 22.7%)
CIE-LABlab(75.48, -12.54, 62.39)
CIE-LCHlch(75.48, 63.63, 101.36°)
OKLaboklab(78.43% -0.0405 0.1394)
OKLCHoklch(78.43% 0.145 106.2)
XYZxyz(42.3105, 49.0465, 11.7947)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE3E #3E45C5
analogous
#C57A3E #C5BE3E #88C53E
triadic
#C5BE3E #3EC5BE #BE3EC5
tetradic
#C5BE3E #3EC57A #3E45C5 #C53E88
square
#C5BE3E #3EC57A #3E45C5 #C53E88
split-complementary
#C5BE3E #3E88C5 #7A3EC5
monochromatic
#696520 #98932E #C5BE3E #D3CE6D #E1DE9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BE3E#FFFFFF#000000##000000
##C5BE3E1.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)
#CEB72B
Deuteranopia (green-blind)
#D1BC47
Tritanopia (blue-blind)
#D3B2A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5be3e;
/* rgb */ color: rgb(197, 190, 62);
/* oklch */ color: oklch(78.4% 0.145 106.2);
Tailwind
colors: {
  custom: {
    50: '#dad17b',
    500: '#c5be3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5be3e;
$custom-light: #dad17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be3e",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 62
  },
  "hsl": {
    "h": 56.889,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78432,
    "c": 0.14513,
    "h": 106.2
  },
  "luminance": 0.49045
}

Semantic roles & 50–950 ramp

primary
#C5BE3E
secondary
#9195CD
accent
#52DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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