#C5BE40#C5BE40

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

Color values

HEX#C5BE40
RGBrgb(197, 190, 64)
HSLhsl(57, 53%, 51%)
HSVhsv(57, 68%, 77%)
CMYKcmyk(0%, 3.6%, 67.5%, 22.7%)
CIE-LABlab(75.49, -12.43, 61.62)
CIE-LCHlch(75.49, 62.86, 101.40°)
OKLaboklab(78.45% -0.04 0.1381)
OKLCHoklch(78.45% 0.144 106.2)
XYZxyz(42.3664, 49.0689, 12.0891)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE40 #4047C5
analogous
#C57B40 #C5BE40 #89C540
triadic
#C5BE40 #40C5BE #BE40C5
tetradic
#C5BE40 #40C57B #4047C5 #C54089
square
#C5BE40 #40C57B #4047C5 #C54089
split-complementary
#C5BE40 #4089C5 #7B40C5
monochromatic
#6A6620 #99942F #C5BE40 #D3CE6F #E2DE9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BE40#FFFFFF#000000##000000
##C5BE401.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)
#CEB72E
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#D3B2A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5be40;
/* rgb */ color: rgb(197, 190, 64);
/* oklch */ color: oklch(78.4% 0.144 106.2);
Tailwind
colors: {
  custom: {
    50: '#dad17c',
    500: '#c5be40',
    950: '#000000',
  },
}
SCSS
$custom: #c5be40;
$custom-light: #dad17c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be40",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 56.842,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78447,
    "c": 0.14376,
    "h": 106.2
  },
  "luminance": 0.49067
}

Semantic roles & 50–950 ramp

primary
#C5BE40
secondary
#9396CE
accent
#53DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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