#B4C730#B4C730

#B4C730 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 78.9% C 0.167 H 116.8°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#B4C730
RGBrgb(180, 199, 48)
HSLhsl(68, 61%, 48%)
HSVhsv(68, 76%, 78%)
CMYKcmyk(9.5%, 0%, 75.9%, 22%)
CIE-LABlab(76.54, -24.85, 67.83)
CIE-LCHlch(76.54, 72.24, 110.12°)
OKLaboklab(78.92% -0.0752 0.149)
OKLCHoklch(78.92% 0.167 116.8)
XYZxyz(39.7803, 50.7641, 10.4986)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C730 #4330C7
analogous
#C78E30 #B4C730 #68C730
triadic
#B4C730 #30B4C7 #C730B4
tetradic
#B4C730 #30C78E #4330C7 #C73068
square
#B4C730 #30C78E #4330C7 #C73068
split-complementary
#B4C730 #3068C7 #8E30C7
monochromatic
#5B6418 #879624 #B4C730 #C8D85C #D9E48E

Accessibility & contrast

On white

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

On black

11.15
#B4C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C730
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C730#FFFFFF#000000##000000
##B4C7301.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c730;
/* rgb */ color: rgb(180, 199, 48);
/* oklch */ color: oklch(78.9% 0.167 116.8);
Tailwind
colors: {
  custom: {
    50: '#ced774',
    500: '#b4c730',
    950: '#000000',
  },
}
SCSS
$custom: #b4c730;
$custom-light: #ced774;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c730",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 67.55,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78922,
    "c": 0.16692,
    "h": 116.8
  },
  "luminance": 0.50764
}

Semantic roles & 50–950 ramp

primary
#B4C730
secondary
#352C6F
accent
#44E458
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C730

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

Preview Lab → · Contrast checker → · Palette generator →

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