#BEC87B#BEC87B

#BEC87B is a light, moderate yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.101 H 114.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#BEC87B
RGBrgb(190, 200, 123)
HSLhsl(68, 41%, 63%)
HSVhsv(68, 39%, 78%)
CMYKcmyk(5%, 0%, 38.5%, 21.6%)
CIE-LABlab(78.28, -15.34, 37.36)
CIE-LCHlch(78.28, 40.39, 112.32°)
OKLaboklab(80.74% -0.0421 0.0914)
OKLCHoklch(80.74% 0.101 114.7)
XYZxyz(45.4649, 53.6863, 26.7024)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC87B #857BC8
analogous
#C8AB7B #BEC87B #97C87B
triadic
#BEC87B #7BBEC8 #C87BBE
tetradic
#BEC87B #7BC8AB #857BC8 #C87B97
square
#BEC87B #7BC8AB #857BC8 #C87B97
split-complementary
#BEC87B #7B97C8 #AB7BC8
monochromatic
#838E3B #A9B650 #BEC87B #D3DAA6 #E9ECD1

Accessibility & contrast

On white

1.79
#BEC87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#BEC87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC87B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC87B#FFFFFF#000000##000000
##BEC87B1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C175
Deuteranopia (green-blind)
#D2C27F
Tritanopia (blue-blind)
#C6C0B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bec87b;
/* rgb */ color: rgb(190, 200, 123);
/* oklch */ color: oklch(80.7% 0.101 114.7);
Tailwind
colors: {
  custom: {
    50: '#d2d8a2',
    500: '#bec87b',
    950: '#000000',
  },
}
SCSS
$custom: #bec87b;
$custom-light: #d2d8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bec87b",
  "rgb": {
    "r": 190,
    "g": 200,
    "b": 123
  },
  "hsl": {
    "h": 67.792,
    "s": 41.176,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80736,
    "c": 0.10061,
    "h": 114.7
  },
  "luminance": 0.53686
}

Semantic roles & 50–950 ramp

primary
#BEC87B
secondary
#5B5295
accent
#31B442
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #BEC87B

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

Preview Lab → · Contrast checker → · Palette generator →

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