#B4C148#B4C148

#B4C148 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.145 H 115.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#B4C148
RGBrgb(180, 193, 72)
HSLhsl(66, 49%, 52%)
HSVhsv(66, 63%, 76%)
CMYKcmyk(6.7%, 0%, 62.7%, 24.3%)
CIE-LABlab(75.02, -20.59, 57.46)
CIE-LCHlch(75.02, 61.04, 109.71°)
OKLaboklab(77.76% -0.0611 0.131)
OKLCHoklch(77.76% 0.145 115)
XYZxyz(39.0629, 48.3117, 13.3969)
Luminance0.4831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C148 #5548C1
analogous
#C19148 #B4C148 #78C148
triadic
#B4C148 #48B4C1 #C148B4
tetradic
#B4C148 #48C191 #5548C1 #C14878
square
#B4C148 #48C191 #5548C1 #C14878
split-complementary
#B4C148 #4878C1 #9148C1
monochromatic
#636B24 #8D9834 #B4C148 #C7D076 #D9E0A3

Accessibility & contrast

On white

1.97
#B4C148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#B4C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C148
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C148#FFFFFF#000000##000000
##B4C1481.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#CDBA50
Tritanopia (blue-blind)
#BFB6A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c148;
/* rgb */ color: rgb(180, 193, 72);
/* oklch */ color: oklch(77.8% 0.145 115.0);
Tailwind
colors: {
  custom: {
    50: '#cdd381',
    500: '#b4c148',
    950: '#000000',
  },
}
SCSS
$custom: #b4c148;
$custom-light: #cdd381;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c148",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 66.446,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77757,
    "c": 0.14453,
    "h": 115
  },
  "luminance": 0.48311
}

Semantic roles & 50–950 ramp

primary
#B4C148
secondary
#9E98CD
accent
#4FD95E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #B4C148

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

Preview Lab → · Contrast checker → · Palette generator →

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