#C5BE38#C5BE38

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

Color values

HEX#C5BE38
RGBrgb(197, 190, 56)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 72%, 77%)
CMYKcmyk(0%, 3.6%, 71.6%, 22.7%)
CIE-LABlab(75.44, -12.84, 64.58)
CIE-LCHlch(75.44, 65.84, 101.24°)
OKLaboklab(78.39% -0.042 0.143)
OKLCHoklch(78.39% 0.149 106.4)
XYZxyz(42.1549, 48.9843, 10.9750)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE38 #383FC5
analogous
#C57738 #C5BE38 #86C538
triadic
#C5BE38 #38C5BE #BE38C5
tetradic
#C5BE38 #38C577 #383FC5 #C53886
square
#C5BE38 #38C577 #383FC5 #C53886
split-complementary
#C5BE38 #3886C5 #7738C5
monochromatic
#66621D #95902A #C5BE38 #D4CE67 #E1DD96

Accessibility & contrast

On white

1.95
#C5BE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BE38#FFFFFF#000000##000000
##C5BE381.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5be38;
/* rgb */ color: rgb(197, 190, 56);
/* oklch */ color: oklch(78.4% 0.149 106.4);
Tailwind
colors: {
  custom: {
    50: '#dad178',
    500: '#c5be38',
    950: '#000000',
  },
}
SCSS
$custom: #c5be38;
$custom-light: #dad178;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be38",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 57.021,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78388,
    "c": 0.14898,
    "h": 106.4
  },
  "luminance": 0.48983
}

Semantic roles & 50–950 ramp

primary
#C5BE38
secondary
#8C8FCD
accent
#50DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C5BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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