#B5C830#B5C830

#B5C830 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.2% C 0.168 H 116.8°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#B5C830
RGBrgb(181, 200, 48)
HSLhsl(68, 61%, 49%)
HSVhsv(68, 76%, 78%)
CMYKcmyk(9.5%, 0%, 76%, 21.6%)
CIE-LABlab(76.89, -24.92, 68.19)
CIE-LCHlch(76.89, 72.60, 110.08°)
OKLaboklab(79.22% -0.0755 0.1497)
OKLCHoklch(79.22% 0.168 116.8)
XYZxyz(40.2449, 51.3462, 10.5865)
Luminance0.5135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C830 #4330C8
analogous
#C88F30 #B5C830 #69C830
triadic
#B5C830 #30B5C8 #C830B5
tetradic
#B5C830 #30C88F #4330C8 #C83069
square
#B5C830 #30C88F #4330C8 #C83069
split-complementary
#B5C830 #3069C8 #8F30C8
monochromatic
#5C6518 #889724 #B5C830 #C9D85D #D9E48E

Accessibility & contrast

On white

1.86
#B5C830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#B5C830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C830
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C830#FFFFFF#000000##000000
##B5C8301.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD05
Deuteranopia (green-blind)
#D4BF3E
Tritanopia (blue-blind)
#C1BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c830;
/* rgb */ color: rgb(181, 200, 48);
/* oklch */ color: oklch(79.2% 0.168 116.8);
Tailwind
colors: {
  custom: {
    50: '#cfd875',
    500: '#b5c830',
    950: '#000000',
  },
}
SCSS
$custom: #b5c830;
$custom-light: #cfd875;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c830",
  "rgb": {
    "r": 181,
    "g": 200,
    "b": 48
  },
  "hsl": {
    "h": 67.5,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79224,
    "c": 0.16767,
    "h": 116.8
  },
  "luminance": 0.51346
}

Semantic roles & 50–950 ramp

primary
#B5C830
secondary
#352D70
accent
#43E458
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C830

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

Preview Lab → · Contrast checker → · Palette generator →

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