#B8B142#B8B142

#B8B142 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.131 H 105.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B8B142
RGBrgb(184, 177, 66)
HSLhsl(56, 47%, 49%)
HSVhsv(56, 64%, 72%)
CMYKcmyk(0%, 3.8%, 64.1%, 27.8%)
CIE-LABlab(70.89, -11.19, 55.70)
CIE-LCHlch(70.89, 56.81, 101.36°)
OKLaboklab(74.52% -0.0355 0.1263)
OKLCHoklch(74.52% 0.131 105.7)
XYZxyz(36.4740, 42.0292, 11.3444)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B142 #4249B8
analogous
#B87642 #B8B142 #84B842
triadic
#B8B142 #42B8B1 #B142B8
tetradic
#B8B142 #42B876 #4249B8 #B84284
square
#B8B142 #42B876 #4249B8 #B84284
split-complementary
#B8B142 #4284B8 #7642B8
monochromatic
#5E5A22 #8B8632 #B8B142 #CBC56D #DBD79A

Accessibility & contrast

On white

2.23
#B8B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B8B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B142
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B142#FFFFFF#000000##000000
##B8B1421.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C2B049
Tritanopia (blue-blind)
#C5A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b142;
/* rgb */ color: rgb(184, 177, 66);
/* oklch */ color: oklch(74.5% 0.131 105.7);
Tailwind
colors: {
  custom: {
    50: '#d0c87c',
    500: '#b8b142',
    950: '#000000',
  },
}
SCSS
$custom: #b8b142;
$custom-light: #d0c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b142",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 56.441,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74521,
    "c": 0.13118,
    "h": 105.7
  },
  "luminance": 0.42028
}

Semantic roles & 50–950 ramp

primary
#B8B142
secondary
#8F92C7
accent
#59D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B142

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

Preview Lab → · Contrast checker → · Palette generator →

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