#B7C856#B7C856

#B7C856 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.7% C 0.140 H 116.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#B7C856
RGBrgb(183, 200, 86)
HSLhsl(69, 51%, 56%)
HSVhsv(69, 57%, 78%)
CMYKcmyk(8.5%, 0%, 57%, 21.6%)
CIE-LABlab(77.31, -21.77, 53.94)
CIE-LCHlch(77.31, 58.17, 111.98°)
OKLaboklab(79.69% -0.0632 0.1252)
OKLCHoklch(79.69% 0.14 116.8)
XYZxyz(41.8631, 52.0482, 16.6432)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C856 #6756C8
analogous
#C8A056 #B7C856 #7EC856
triadic
#B7C856 #56B7C8 #C856B7
tetradic
#B7C856 #56C8A0 #6756C8 #C8567E
square
#B7C856 #56C8A0 #6756C8 #C8567E
split-complementary
#B7C856 #567EC8 #A056C8
monochromatic
#6F7B28 #99AA37 #B7C856 #CBD784 #DEE6B2

Accessibility & contrast

On white

1.84
#B7C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#B7C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C856
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C856#FFFFFF#000000##000000
##B7C8561.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4A
Deuteranopia (green-blind)
#D3C05D
Tritanopia (blue-blind)
#C1BEAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c856;
/* rgb */ color: rgb(183, 200, 86);
/* oklch */ color: oklch(79.7% 0.140 116.8);
Tailwind
colors: {
  custom: {
    50: '#cfd88a',
    500: '#b7c856',
    950: '#000000',
  },
}
SCSS
$custom: #b7c856;
$custom-light: #cfd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c856",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 68.947,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79687,
    "c": 0.14027,
    "h": 116.8
  },
  "luminance": 0.52048
}

Semantic roles & 50–950 ramp

primary
#B7C856
secondary
#493F84
accent
#4DDA62
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B7C856

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

Preview Lab → · Contrast checker → · Palette generator →

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