#B7C847#B7C847

#B7C847 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.5% C 0.152 H 116.4°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B7C847
RGBrgb(183, 200, 71)
HSLhsl(68, 54%, 53%)
HSVhsv(68, 65%, 78%)
CMYKcmyk(8.5%, 0%, 64.5%, 21.6%)
CIE-LABlab(77.18, -22.86, 60.22)
CIE-LCHlch(77.18, 64.42, 110.79°)
OKLaboklab(79.54% -0.0678 0.1366)
OKLCHoklch(79.54% 0.152 116.4)
XYZxyz(41.3209, 51.8313, 13.7877)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C847 #5847C8
analogous
#C89847 #B7C847 #76C847
triadic
#B7C847 #47B7C8 #C847B7
tetradic
#B7C847 #47C898 #5847C8 #C84776
square
#B7C847 #47C898 #5847C8 #C84776
split-complementary
#B7C847 #4776C8 #9847C8
monochromatic
#687222 #93A230 #B7C847 #C9D676 #DCE4A5

Accessibility & contrast

On white

1.85
#B7C847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B7C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C847
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C847#FFFFFF#000000##000000
##B7C8471.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE36
Deuteranopia (green-blind)
#D4BF50
Tritanopia (blue-blind)
#C2BDAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c847;
/* rgb */ color: rgb(183, 200, 71);
/* oklch */ color: oklch(79.5% 0.152 116.4);
Tailwind
colors: {
  custom: {
    50: '#cfd881',
    500: '#b7c847',
    950: '#000000',
  },
}
SCSS
$custom: #b7c847;
$custom-light: #cfd881;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c847",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 67.907,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79541,
    "c": 0.15248,
    "h": 116.4
  },
  "luminance": 0.51831
}

Semantic roles & 50–950 ramp

primary
#B7C847
secondary
#41387B
accent
#4ADD5E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B7C847

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

Preview Lab → · Contrast checker → · Palette generator →

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