#B5C730#B5C730

#B5C730 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.0% C 0.167 H 116.4°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#B5C730
RGBrgb(181, 199, 48)
HSLhsl(67, 61%, 48%)
HSVhsv(67, 76%, 78%)
CMYKcmyk(9%, 0%, 75.9%, 22%)
CIE-LABlab(76.61, -24.44, 67.93)
CIE-LCHlch(76.61, 72.19, 109.79°)
OKLaboklab(79% -0.0741 0.1492)
OKLCHoklch(79% 0.167 116.4)
XYZxyz(40.0140, 50.8846, 10.5095)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C730 #4230C7
analogous
#C78D30 #B5C730 #69C730
triadic
#B5C730 #30B5C7 #C730B5
tetradic
#B5C730 #30C78D #4230C7 #C73069
square
#B5C730 #30C78D #4230C7 #C73069
split-complementary
#B5C730 #3069C7 #8D30C7
monochromatic
#5B6418 #889624 #B5C730 #C9D85C #D9E48E

Accessibility & contrast

On white

1.88
#B5C730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#B5C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C730
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C730#FFFFFF#000000##000000
##B5C7301.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC06
Deuteranopia (green-blind)
#D3BE3E
Tritanopia (blue-blind)
#C1BBAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b5c730;
/* rgb */ color: rgb(181, 199, 48);
/* oklch */ color: oklch(79.0% 0.167 116.4);
Tailwind
colors: {
  custom: {
    50: '#cfd774',
    500: '#b5c730',
    950: '#000000',
  },
}
SCSS
$custom: #b5c730;
$custom-light: #cfd774;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c730",
  "rgb": {
    "r": 181,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 67.152,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79,
    "c": 0.16657,
    "h": 116.4
  },
  "luminance": 0.50884
}

Semantic roles & 50–950 ramp

primary
#B5C730
secondary
#342C6F
accent
#44E457
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C730

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

Preview Lab → · Contrast checker → · Palette generator →

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