#B4C830#B4C830

#B4C830 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.1% C 0.168 H 117.1°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#B4C830
RGBrgb(180, 200, 48)
HSLhsl(68, 61%, 49%)
HSVhsv(68, 76%, 78%)
CMYKcmyk(10%, 0%, 76%, 21.6%)
CIE-LABlab(76.82, -25.34, 68.09)
CIE-LCHlch(76.82, 72.65, 110.41°)
OKLaboklab(79.15% -0.0766 0.1496)
OKLCHoklch(79.15% 0.168 117.1)
XYZxyz(40.0112, 51.2257, 10.5755)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C830 #4430C8
analogous
#C89030 #B4C830 #68C830
triadic
#B4C830 #30B4C8 #C830B4
tetradic
#B4C830 #30C890 #4430C8 #C83068
square
#B4C830 #30C890 #4430C8 #C83068
split-complementary
#B4C830 #3068C8 #9030C8
monochromatic
#5B6518 #889724 #B4C830 #C8D85D #D9E48E

Accessibility & contrast

On white

1.87
#B4C830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#B4C830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C830
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C830#FFFFFF#000000##000000
##B4C8301.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c830;
/* rgb */ color: rgb(180, 200, 48);
/* oklch */ color: oklch(79.1% 0.168 117.1);
Tailwind
colors: {
  custom: {
    50: '#ced875',
    500: '#b4c830',
    950: '#000000',
  },
}
SCSS
$custom: #b4c830;
$custom-light: #ced875;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c830",
  "rgb": {
    "r": 180,
    "g": 200,
    "b": 48
  },
  "hsl": {
    "h": 67.895,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79147,
    "c": 0.16802,
    "h": 117.1
  },
  "luminance": 0.51225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4C830

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

Preview Lab → · Contrast checker → · Palette generator →

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