#B6C151#B6C151

#B6C151 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.137 H 114.3°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B6C151
RGBrgb(182, 193, 81)
HSLhsl(66, 47%, 54%)
HSVhsv(66, 58%, 76%)
CMYKcmyk(5.7%, 0%, 58%, 24.3%)
CIE-LABlab(75.25, -19.11, 53.85)
CIE-LCHlch(75.25, 57.14, 109.54°)
OKLaboklab(78.01% -0.0562 0.1245)
OKLCHoklch(78.01% 0.137 114.3)
XYZxyz(39.8474, 48.6797, 15.0800)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C151 #5C51C1
analogous
#C19451 #B6C151 #7EC151
triadic
#B6C151 #51B6C1 #C151B6
tetradic
#B6C151 #51C194 #5C51C1 #C1517E
square
#B6C151 #51C194 #5C51C1 #C1517E
split-complementary
#B6C151 #517EC1 #9451C1
monochromatic
#697028 #939D38 #B6C151 #C9D17E #DCE1AB

Accessibility & contrast

On white

1.96
#B6C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B6C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C151
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C151#FFFFFF#000000##000000
##B6C1511.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB845
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#C1B7A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b6c151;
/* rgb */ color: rgb(182, 193, 81);
/* oklch */ color: oklch(78.0% 0.137 114.3);
Tailwind
colors: {
  custom: {
    50: '#ced386',
    500: '#b6c151',
    950: '#000000',
  },
}
SCSS
$custom: #b6c151;
$custom-light: #ced386;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c151",
  "rgb": {
    "r": 182,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 65.893,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78005,
    "c": 0.13653,
    "h": 114.3
  },
  "luminance": 0.48679
}

Semantic roles & 50–950 ramp

primary
#B6C151
secondary
#A49FCF
accent
#51D75E
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B6C151

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

Preview Lab → · Contrast checker → · Palette generator →

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