#B7CC8A#B7CC8A

#B7CC8A is a light, moderate yellow-green. Relative luminance 0.551; OKLCH L 81.3% C 0.091 H 122.8°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#B7CC8A
RGBrgb(183, 204, 138)
HSLhsl(79, 39%, 67%)
HSVhsv(79, 32%, 80%)
CMYKcmyk(10.3%, 0%, 32.4%, 20%)
CIE-LABlab(79.09, -18.15, 30.61)
CIE-LCHlch(79.09, 35.59, 120.66°)
OKLaboklab(81.33% -0.0491 0.0763)
OKLCHoklch(81.33% 0.091 122.8)
XYZxyz(45.7084, 55.0879, 32.2648)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC8A #9F8ACC
analogous
#CCC08A #B7CC8A #96CC8A
triadic
#B7CC8A #8AB7CC #CC8AB7
tetradic
#B7CC8A #8ACCC0 #9F8ACC #CC8A96
square
#B7CC8A #8ACCC0 #9F8ACC #CC8A96
split-complementary
#B7CC8A #8A96CC #C08ACC
monochromatic
#7D9943 #9DB95F #B7CC8A #D1DFB5 #EBF1DF

Accessibility & contrast

On white

1.75
#B7CC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#B7CC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC8A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC8A#FFFFFF#000000##000000
##B7CC8A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C486
Deuteranopia (green-blind)
#D1C48D
Tritanopia (blue-blind)
#BCC6BB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b7cc8a;
/* rgb */ color: rgb(183, 204, 138);
/* oklch */ color: oklch(81.3% 0.091 122.8);
Tailwind
colors: {
  custom: {
    50: '#cddbac',
    500: '#b7cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc8a;
$custom-light: #cddbac;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc8a",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 79.091,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81334,
    "c": 0.09071,
    "h": 122.8
  },
  "luminance": 0.55088
}

Semantic roles & 50–950 ramp

primary
#B7CC8A
secondary
#715BA0
accent
#33B25C
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#131510
muted
#838481

Preview Lab

Preview with #B7CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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