#B5C330#B5C330

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

Color values

HEX#B5C330
RGBrgb(181, 195, 48)
HSLhsl(66, 60%, 48%)
HSVhsv(66, 75%, 76%)
CMYKcmyk(7.2%, 0%, 75.4%, 23.5%)
CIE-LABlab(75.49, -22.49, 66.89)
CIE-LCHlch(75.49, 70.57, 108.58°)
OKLaboklab(78.1% -0.0687 0.147)
OKLCHoklch(78.1% 0.162 115.1)
XYZxyz(39.1058, 49.0681, 10.2068)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C330 #3E30C3
analogous
#C38730 #B5C330 #6CC330
triadic
#B5C330 #30B5C3 #C330B5
tetradic
#B5C330 #30C387 #3E30C3 #C3306C
square
#B5C330 #30C387 #3E30C3 #C3306C
split-complementary
#B5C330 #306CC3 #8730C3
monochromatic
#5A6118 #879224 #B5C330 #CAD65A #DAE28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C330#FFFFFF#000000##000000
##B5C3301.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)
#D1B90A
Deuteranopia (green-blind)
#D0BB3D
Tritanopia (blue-blind)
#C1B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c330;
/* rgb */ color: rgb(181, 195, 48);
/* oklch */ color: oklch(78.1% 0.162 115.1);
Tailwind
colors: {
  custom: {
    50: '#cfd574',
    500: '#b5c330',
    950: '#000000',
  },
}
SCSS
$custom: #b5c330;
$custom-light: #cfd574;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c330",
  "rgb": {
    "r": 181,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 65.714,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78104,
    "c": 0.16226,
    "h": 115.1
  },
  "luminance": 0.49067
}

Semantic roles & 50–950 ramp

primary
#B5C330
secondary
#8982CC
accent
#44E453
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C330

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

Preview Lab → · Contrast checker → · Palette generator →

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