#C5BE30#C5BE30

#C5BE30 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.3% C 0.154 H 106.5°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#C5BE30
RGBrgb(197, 190, 48)
HSLhsl(57, 61%, 48%)
HSVhsv(57, 76%, 77%)
CMYKcmyk(0%, 3.6%, 75.6%, 22.7%)
CIE-LABlab(75.40, -13.19, 67.27)
CIE-LCHlch(75.40, 68.55, 101.09°)
OKLaboklab(78.34% -0.0437 0.1472)
OKLCHoklch(78.34% 0.154 106.5)
XYZxyz(41.9746, 48.9122, 10.0257)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BE30 #3037C5
analogous
#C57330 #C5BE30 #81C530
triadic
#C5BE30 #30C5BE #BE30C5
tetradic
#C5BE30 #30C573 #3037C5 #C53081
square
#C5BE30 #30C573 #3037C5 #C53081
split-complementary
#C5BE30 #3081C5 #7330C5
monochromatic
#635F18 #948F24 #C5BE30 #D7D15B #E3DF8C

Accessibility & contrast

On white

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

On black

10.78
#C5BE30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BE30
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BE30#FFFFFF#000000##000000
##C5BE301.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70D
Deuteranopia (green-blind)
#D2BC3B
Tritanopia (blue-blind)
#D4B1A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c5be30;
/* rgb */ color: rgb(197, 190, 48);
/* oklch */ color: oklch(78.3% 0.154 106.5);
Tailwind
colors: {
  custom: {
    50: '#dad174',
    500: '#c5be30',
    950: '#000000',
  },
}
SCSS
$custom: #c5be30;
$custom-light: #dad174;
$custom-dark: #000000;
JSON
{
  "hex": "#c5be30",
  "rgb": {
    "r": 197,
    "g": 190,
    "b": 48
  },
  "hsl": {
    "h": 57.181,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78338,
    "c": 0.15354,
    "h": 106.5
  },
  "luminance": 0.48911
}

Semantic roles & 50–950 ramp

primary
#C5BE30
secondary
#8487CD
accent
#4BE444
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C5BE30

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

Preview Lab → · Contrast checker → · Palette generator →

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