#B5C148#B5C148

#B5C148 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.144 H 114.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#B5C148
RGBrgb(181, 193, 72)
HSLhsl(66, 49%, 52%)
HSVhsv(66, 63%, 76%)
CMYKcmyk(6.2%, 0%, 62.7%, 24.3%)
CIE-LABlab(75.10, -20.17, 57.56)
CIE-LCHlch(75.10, 60.99, 109.31°)
OKLaboklab(77.84% -0.06 0.1312)
OKLCHoklch(77.84% 0.144 114.6)
XYZxyz(39.2966, 48.4322, 13.4079)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C148 #5448C1
analogous
#C19048 #B5C148 #79C148
triadic
#B5C148 #48B5C1 #C148B5
tetradic
#B5C148 #48C190 #5448C1 #C14879
square
#B5C148 #48C190 #5448C1 #C14879
split-complementary
#B5C148 #4879C1 #9048C1
monochromatic
#646B24 #8E9834 #B5C148 #C7D076 #DAE0A3

Accessibility & contrast

On white

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

On black

10.69
#B5C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C148
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C148#FFFFFF#000000##000000
##B5C1481.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5c148;
/* rgb */ color: rgb(181, 193, 72);
/* oklch */ color: oklch(77.8% 0.144 114.6);
Tailwind
colors: {
  custom: {
    50: '#ced381',
    500: '#b5c148',
    950: '#000000',
  },
}
SCSS
$custom: #b5c148;
$custom-light: #ced381;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c148",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 65.95,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77836,
    "c": 0.14424,
    "h": 114.6
  },
  "luminance": 0.48432
}

Semantic roles & 50–950 ramp

primary
#B5C148
secondary
#9D98CD
accent
#4FD95D
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #B5C148

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

Preview Lab → · Contrast checker → · Palette generator →

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