#C5BE3A#C5BE3A

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

Color values

HEX#C5BE3A
RGBrgb(197, 190, 58)
HSLhsl(57, 55%, 50%)
HSVhsv(57, 71%, 77%)
CMYKcmyk(0%, 3.6%, 70.6%, 22.7%)
CIE-LABlab(75.45, -12.74, 63.86)
CIE-LCHlch(75.45, 65.12, 101.28°)
OKLaboklab(78.4% -0.0415 0.1418)
OKLCHoklch(78.4% 0.148 106.3)
XYZxyz(42.2048, 49.0042, 11.2378)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE3A #3A41C5
analogous
#C5783A #C5BE3A #87C53A
triadic
#C5BE3A #3AC5BE #BE3AC5
tetradic
#C5BE3A #3AC578 #3A41C5 #C53A87
square
#C5BE3A #3AC578 #3A41C5 #C53A87
split-complementary
#C5BE3A #3A87C5 #783AC5
monochromatic
#66631E #96902C #C5BE3A #D3CE69 #E1DD99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BE3A#FFFFFF#000000##000000
##C5BE3A1.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)
#CEB724
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#D3B1A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5be3a;
/* rgb */ color: rgb(197, 190, 58);
/* oklch */ color: oklch(78.4% 0.148 106.3);
Tailwind
colors: {
  custom: {
    50: '#dad179',
    500: '#c5be3a',
    950: '#000000',
  },
}
SCSS
$custom: #c5be3a;
$custom-light: #dad179;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be3a",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 58
  },
  "hsl": {
    "h": 56.978,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.78402,
    "c": 0.14774,
    "h": 106.3
  },
  "luminance": 0.49003
}

Semantic roles & 50–950 ramp

primary
#C5BE3A
secondary
#8E91CD
accent
#51DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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