#B9C857#B9C857

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

Color values

HEX#B9C857
RGBrgb(185, 200, 87)
HSLhsl(68, 51%, 56%)
HSVhsv(68, 57%, 78%)
CMYKcmyk(7.5%, 0%, 56.5%, 21.6%)
CIE-LABlab(77.47, -20.88, 53.71)
CIE-LCHlch(77.47, 57.63, 111.25°)
OKLaboklab(79.85% -0.0607 0.1248)
OKLCHoklch(79.85% 0.139 116)
XYZxyz(42.3829, 52.3115, 16.8794)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C857 #6657C8
analogous
#C89F57 #B9C857 #81C857
triadic
#B9C857 #57B9C8 #C857B9
tetradic
#B9C857 #57C89F #6657C8 #C85781
square
#B9C857 #57C89F #6657C8 #C85781
split-complementary
#B9C857 #5781C8 #9F57C8
monochromatic
#717C29 #9BAA38 #B9C857 #CCD785 #DFE6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C857#FFFFFF#000000##000000
##B9C8571.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)
#D5BF4B
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#C3BEAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c857;
/* rgb */ color: rgb(185, 200, 87);
/* oklch */ color: oklch(79.9% 0.139 116.0);
Tailwind
colors: {
  custom: {
    50: '#d0d88a',
    500: '#b9c857',
    950: '#000000',
  },
}
SCSS
$custom: #b9c857;
$custom-light: #d0d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c857",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 67.965,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79853,
    "c": 0.13878,
    "h": 116
  },
  "luminance": 0.52311
}

Semantic roles & 50–950 ramp

primary
#B9C857
secondary
#483F84
accent
#4EDA60
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B9C857

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

Preview Lab → · Contrast checker → · Palette generator →

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