#B3C151#B3C151

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

Color values

HEX#B3C151
RGBrgb(179, 193, 81)
HSLhsl(68, 47%, 54%)
HSVhsv(68, 58%, 76%)
CMYKcmyk(7.3%, 0%, 58%, 24.3%)
CIE-LABlab(75.03, -20.34, 53.54)
CIE-LCHlch(75.03, 57.27, 110.80°)
OKLaboklab(77.77% -0.0595 0.1238)
OKLCHoklch(77.77% 0.137 115.6)
XYZxyz(39.1463, 48.3182, 15.0471)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C151 #5F51C1
analogous
#C19751 #B3C151 #7BC151
triadic
#B3C151 #51B3C1 #C151B3
tetradic
#B3C151 #51C197 #5F51C1 #C1517B
square
#B3C151 #51C197 #5F51C1 #C1517B
split-complementary
#B3C151 #517BC1 #9751C1
monochromatic
#677028 #909D38 #B3C151 #C7D17E #DAE1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3C151#FFFFFF#000000##000000
##B3C1511.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)
#CDB845
Deuteranopia (green-blind)
#CCBA58
Tritanopia (blue-blind)
#BDB7A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b3c151;
/* rgb */ color: rgb(179, 193, 81);
/* oklch */ color: oklch(77.8% 0.137 115.6);
Tailwind
colors: {
  custom: {
    50: '#ccd386',
    500: '#b3c151',
    950: '#000000',
  },
}
SCSS
$custom: #b3c151;
$custom-light: #ccd386;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c151",
  "rgb": {
    "r": 179,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 67.5,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77767,
    "c": 0.13737,
    "h": 115.6
  },
  "luminance": 0.48318
}

Semantic roles & 50–950 ramp

primary
#B3C151
secondary
#A59FCF
accent
#51D762
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B3C151

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

Preview Lab → · Contrast checker → · Palette generator →

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