#B8C841#B8C841

#B8C841 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.6% C 0.156 H 115.9°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#B8C841
RGBrgb(184, 200, 65)
HSLhsl(67, 55%, 52%)
HSVhsv(67, 68%, 78%)
CMYKcmyk(8%, 0%, 67.5%, 21.6%)
CIE-LABlab(77.21, -22.82, 62.64)
CIE-LCHlch(77.21, 66.67, 110.02°)
OKLaboklab(79.57% -0.0683 0.1408)
OKLCHoklch(79.57% 0.156 115.9)
XYZxyz(41.3766, 51.8812, 12.8344)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C841 #5141C8
analogous
#C89541 #B8C841 #75C841
triadic
#B8C841 #41B8C8 #C841B8
tetradic
#B8C841 #41C895 #5141C8 #C84175
square
#B8C841 #41C895 #5141C8 #C84175
split-complementary
#B8C841 #4175C8 #9541C8
monochromatic
#656F20 #919E2E #B8C841 #CAD670 #DBE3A0

Accessibility & contrast

On white

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

On black

11.38
#B8C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C841
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C841#FFFFFF#000000##000000
##B8C8411.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2D
Deuteranopia (green-blind)
#D4C04B
Tritanopia (blue-blind)
#C3BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b8c841;
/* rgb */ color: rgb(184, 200, 65);
/* oklch */ color: oklch(79.6% 0.156 115.9);
Tailwind
colors: {
  custom: {
    50: '#d0d87d',
    500: '#b8c841',
    950: '#000000',
  },
}
SCSS
$custom: #b8c841;
$custom-light: #d0d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c841",
  "rgb": {
    "r": 184,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 67.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79569,
    "c": 0.15646,
    "h": 115.9
  },
  "luminance": 0.51881
}

Semantic roles & 50–950 ramp

primary
#B8C841
secondary
#3D3578
accent
#49DE5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8C841

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

Preview Lab → · Contrast checker → · Palette generator →

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