#B8C142#B8C142

#B8C142 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.148 H 113.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B8C142
RGBrgb(184, 193, 66)
HSLhsl(64, 51%, 51%)
HSVhsv(64, 66%, 76%)
CMYKcmyk(4.7%, 0%, 65.8%, 24.3%)
CIE-LABlab(75.28, -19.31, 60.28)
CIE-LCHlch(75.28, 63.30, 107.76°)
OKLaboklab(78.03% -0.0584 0.1359)
OKLCHoklch(78.03% 0.148 113.2)
XYZxyz(39.8216, 48.7244, 12.4602)
Luminance0.4872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C142 #4B42C1
analogous
#C18A42 #B8C142 #78C142
triadic
#B8C142 #42B8C1 #C142B8
tetradic
#B8C142 #42C18A #4B42C1 #C14278
square
#B8C142 #42C18A #4B42C1 #C14278
split-complementary
#B8C142 #4278C1 #8A42C1
monochromatic
#626722 #8E9531 #B8C142 #C9D070 #DBDF9E

Accessibility & contrast

On white

1.95
#B8C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B8C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C142
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C142#FFFFFF#000000##000000
##B8C1421.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#C4B6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b8c142;
/* rgb */ color: rgb(184, 193, 66);
/* oklch */ color: oklch(78.0% 0.148 113.2);
Tailwind
colors: {
  custom: {
    50: '#d0d37d',
    500: '#b8c142',
    950: '#000000',
  },
}
SCSS
$custom: #b8c142;
$custom-light: #d0d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c142",
  "rgb": {
    "r": 184,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 64.252,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78025,
    "c": 0.14795,
    "h": 113.2
  },
  "luminance": 0.48724
}

Semantic roles & 50–950 ramp

primary
#B8C142
secondary
#9793CC
accent
#4EDA58
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B8C142

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

Preview Lab → · Contrast checker → · Palette generator →

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