#B8BC3A#B8BC3A

#B8BC3A is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.148 H 111.2°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#B8BC3A
RGBrgb(184, 188, 58)
HSLhsl(62, 53%, 48%)
HSVhsv(62, 69%, 74%)
CMYKcmyk(2.1%, 0%, 69.1%, 26.3%)
CIE-LABlab(73.85, -17.26, 61.92)
CIE-LCHlch(73.85, 64.28, 105.58°)
OKLaboklab(76.86% -0.0535 0.1381)
OKLCHoklch(76.86% 0.148 111.2)
XYZxyz(38.5153, 46.4633, 10.9416)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC3A #3E3ABC
analogous
#BC7F3A #B8BC3A #77BC3A
triadic
#B8BC3A #3AB8BC #BC3AB8
tetradic
#B8BC3A #3ABC7F #3E3ABC #BC3A77
square
#B8BC3A #3ABC7F #3E3ABC #BC3A77
split-complementary
#B8BC3A #3A77BC #7F3ABC
monochromatic
#5C5E1D #8A8D2C #B8BC3A #CCCF64 #DBDE93

Accessibility & contrast

On white

2.04
#B8BC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#B8BC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC3A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC3A#FFFFFF#000000##000000
##B8BC3A1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB425
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#C5B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bc3a;
/* rgb */ color: rgb(184, 188, 58);
/* oklch */ color: oklch(76.9% 0.148 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1d078',
    500: '#b8bc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc3a;
$custom-light: #d1d078;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc3a",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 61.846,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76859,
    "c": 0.1481,
    "h": 111.2
  },
  "luminance": 0.46462
}

Semantic roles & 50–950 ramp

primary
#B8BC3A
secondary
#8B89C9
accent
#4CDC50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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