#B8C42B#B8C42B

#B8C42B is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.5% C 0.165 H 114.2°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#B8C42B
RGBrgb(184, 196, 43)
HSLhsl(65, 64%, 47%)
HSVhsv(65, 78%, 77%)
CMYKcmyk(6.1%, 0%, 78.1%, 23.1%)
CIE-LABlab(75.97, -21.92, 68.94)
CIE-LCHlch(75.97, 72.34, 107.64°)
OKLaboklab(78.54% -0.0677 0.1504)
OKLCHoklch(78.54% 0.165 114.2)
XYZxyz(39.9444, 49.8454, 9.8020)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C42B #372BC4
analogous
#C4842B #B8C42B #6CC42B
triadic
#B8C42B #2BB8C4 #C42BB8
tetradic
#B8C42B #2BC484 #372BC4 #C42B6C
square
#B8C42B #2BC484 #372BC4 #C42B6C
split-complementary
#B8C42B #2B6CC4 #842BC4
monochromatic
#5A6015 #899220 #B8C42B #CFD953 #DDE485

Accessibility & contrast

On white

1.91
#B8C42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#B8C42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C42B
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C42B#FFFFFF#000000##000000
##B8C42B1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D2BD39
Tritanopia (blue-blind)
#C4B8A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b8c42b;
/* rgb */ color: rgb(184, 196, 43);
/* oklch */ color: oklch(78.5% 0.165 114.2);
Tailwind
colors: {
  custom: {
    50: '#d1d572',
    500: '#b8c42b',
    950: '#000000',
  },
}
SCSS
$custom: #b8c42b;
$custom-light: #d1d572;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c42b",
  "rgb": {
    "r": 184,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 64.706,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78538,
    "c": 0.1649,
    "h": 114.2
  },
  "luminance": 0.49845
}

Semantic roles & 50–950 ramp

primary
#B8C42B
secondary
#847DCE
accent
#41E74E
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #B8C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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