#B8C838#B8C838

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

Color values

HEX#B8C838
RGBrgb(184, 200, 56)
HSLhsl(67, 57%, 50%)
HSVhsv(67, 72%, 78%)
CMYKcmyk(8%, 0%, 72%, 21.6%)
CIE-LABlab(77.15, -23.31, 65.88)
CIE-LCHlch(77.15, 69.88, 109.48°)
OKLaboklab(79.51% -0.0705 0.1461)
OKLCHoklch(79.51% 0.162 115.8)
XYZxyz(41.1363, 51.7851, 11.5691)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C838 #4838C8
analogous
#C89038 #B8C838 #70C838
triadic
#B8C838 #38B8C8 #C838B8
tetradic
#B8C838 #38C890 #4838C8 #C83870
square
#B8C838 #38C890 #4838C8 #C83870
split-complementary
#B8C838 #3870C8 #9038C8
monochromatic
#60691D #8C992A #B8C838 #C9D568 #DAE398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8C838#FFFFFF#000000##000000
##B8C8381.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)
#D6BE1D
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#C4BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b8c838;
/* rgb */ color: rgb(184, 200, 56);
/* oklch */ color: oklch(79.5% 0.162 115.8);
Tailwind
colors: {
  custom: {
    50: '#d1d878',
    500: '#b8c838',
    950: '#000000',
  },
}
SCSS
$custom: #b8c838;
$custom-light: #d1d878;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c838",
  "rgb": {
    "r": 184,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 66.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79505,
    "c": 0.16223,
    "h": 115.8
  },
  "luminance": 0.51784
}

Semantic roles & 50–950 ramp

primary
#B8C838
secondary
#393273
accent
#48E059
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8C838

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

Preview Lab → · Contrast checker → · Palette generator →

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