#B8C336#B8C336

#B8C336 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.4% C 0.158 H 113.9°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#B8C336
RGBrgb(184, 195, 54)
HSLhsl(65, 57%, 49%)
HSVhsv(65, 72%, 76%)
CMYKcmyk(5.6%, 0%, 72.3%, 23.5%)
CIE-LABlab(75.75, -20.95, 65.23)
CIE-LCHlch(75.75, 68.51, 107.81°)
OKLaboklab(78.38% -0.0641 0.1444)
OKLCHoklch(78.38% 0.158 113.9)
XYZxyz(39.9493, 49.4877, 10.9369)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C336 #4136C3
analogous
#C38836 #B8C336 #72C336
triadic
#B8C336 #36B8C3 #C336B8
tetradic
#B8C336 #36C388 #4136C3 #C33672
square
#B8C336 #36C388 #4136C3 #C33672
split-complementary
#B8C336 #3672C3 #8836C3
monochromatic
#5E631B #8B9329 #B8C336 #CBD463 #DBE192

Accessibility & contrast

On white

1.93
#B8C336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#B8C336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C336
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C336#FFFFFF#000000##000000
##B8C3361.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91B
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#C4B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b8c336;
/* rgb */ color: rgb(184, 195, 54);
/* oklch */ color: oklch(78.4% 0.158 113.9);
Tailwind
colors: {
  custom: {
    50: '#d1d577',
    500: '#b8c336',
    950: '#000000',
  },
}
SCSS
$custom: #b8c336;
$custom-light: #d1d577;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c336",
  "rgb": {
    "r": 184,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 64.681,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78379,
    "c": 0.158,
    "h": 113.9
  },
  "luminance": 0.49487
}

Semantic roles & 50–950 ramp

primary
#B8C336
secondary
#8E89CC
accent
#48E054
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B8C336

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

Preview Lab → · Contrast checker → · Palette generator →

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