#B8C837#B8C837

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

Color values

HEX#B8C837
RGBrgb(184, 200, 55)
HSLhsl(67, 57%, 50%)
HSVhsv(67, 73%, 78%)
CMYKcmyk(8%, 0%, 72.5%, 21.6%)
CIE-LABlab(77.15, -23.36, 66.22)
CIE-LCHlch(77.15, 70.22, 109.43°)
OKLaboklab(79.5% -0.0707 0.1467)
OKLCHoklch(79.5% 0.163 115.7)
XYZxyz(41.1121, 51.7754, 11.4416)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C837 #4737C8
analogous
#C89037 #B8C837 #6FC837
triadic
#B8C837 #37B8C8 #C837B8
tetradic
#B8C837 #37C890 #4737C8 #C8376F
square
#B8C837 #37C890 #4737C8 #C8376F
split-complementary
#B8C837 #376FC8 #9037C8
monochromatic
#60681D #8C982A #B8C837 #C9D567 #DAE297

Accessibility & contrast

On white

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

On black

11.36
#B8C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C837
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C837#FFFFFF#000000##000000
##B8C8371.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1A
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#C4BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b8c837;
/* rgb */ color: rgb(184, 200, 55);
/* oklch */ color: oklch(79.5% 0.163 115.7);
Tailwind
colors: {
  custom: {
    50: '#d1d878',
    500: '#b8c837',
    950: '#000000',
  },
}
SCSS
$custom: #b8c837;
$custom-light: #d1d878;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c837",
  "rgb": {
    "r": 184,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 66.621,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.79498,
    "c": 0.16282,
    "h": 115.7
  },
  "luminance": 0.51775
}

Semantic roles & 50–950 ramp

primary
#B8C837
secondary
#383172
accent
#48E058
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8C837

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

Preview Lab → · Contrast checker → · Palette generator →

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