#B6C951#B6C951

#B6C951 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.146 H 117.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#B6C951
RGBrgb(182, 201, 81)
HSLhsl(70, 53%, 55%)
HSVhsv(70, 60%, 79%)
CMYKcmyk(9.5%, 0%, 59.7%, 21.2%)
CIE-LABlab(77.47, -23.06, 56.31)
CIE-LCHlch(77.47, 60.85, 112.27°)
OKLaboklab(79.78% -0.0673 0.1297)
OKLCHoklch(79.78% 0.146 117.4)
XYZxyz(41.6640, 52.3129, 15.6855)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C951 #6451C9
analogous
#C9A051 #B6C951 #7AC951
triadic
#B6C951 #51B6C9 #C951B6
tetradic
#B6C951 #51C9A0 #6451C9 #C9517A
square
#B6C951 #51C9A0 #6451C9 #C9517A
split-complementary
#B6C951 #517AC9 #A051C9
monochromatic
#6C7A26 #96A934 #B6C951 #CAD780 #DDE6AE

Accessibility & contrast

On white

1.83
#B6C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#B6C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C951
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C951#FFFFFF#000000##000000
##B6C9511.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF43
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#C0BFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b6c951;
/* rgb */ color: rgb(182, 201, 81);
/* oklch */ color: oklch(79.8% 0.146 117.4);
Tailwind
colors: {
  custom: {
    50: '#ced987',
    500: '#b6c951',
    950: '#000000',
  },
}
SCSS
$custom: #b6c951;
$custom-light: #ced987;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c951",
  "rgb": {
    "r": 182,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 69.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7978,
    "c": 0.14608,
    "h": 117.4
  },
  "luminance": 0.52312
}

Semantic roles & 50–950 ramp

primary
#B6C951
secondary
#473C82
accent
#4CDC63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B6C951

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

Preview Lab → · Contrast checker → · Palette generator →

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