#B8BD3A#B8BD3A

#B8BD3A is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.1% C 0.149 H 111.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#B8BD3A
RGBrgb(184, 189, 58)
HSLhsl(62, 53%, 48%)
HSVhsv(62, 69%, 74%)
CMYKcmyk(2.6%, 0%, 69.3%, 25.9%)
CIE-LABlab(74.12, -17.77, 62.20)
CIE-LCHlch(74.12, 64.68, 105.94°)
OKLaboklab(77.08% -0.0549 0.1387)
OKLCHoklch(77.08% 0.149 111.6)
XYZxyz(38.7297, 46.8920, 11.0130)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD3A #3F3ABD
analogous
#BD803A #B8BD3A #76BD3A
triadic
#B8BD3A #3AB8BD #BD3AB8
tetradic
#B8BD3A #3ABD80 #3F3ABD #BD3A76
square
#B8BD3A #3ABD80 #3F3ABD #BD3A76
split-complementary
#B8BD3A #3A76BD #803ABD
monochromatic
#5D5F1D #8A8E2C #B8BD3A #CCD065 #DBDE93

Accessibility & contrast

On white

2.02
#B8BD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#B8BD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD3A
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD3A#FFFFFF#000000##000000
##B8BD3A1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB425
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#C5B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd3a;
/* rgb */ color: rgb(184, 189, 58);
/* oklch */ color: oklch(77.1% 0.149 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d078',
    500: '#b8bd3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd3a;
$custom-light: #d1d078;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd3a",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 58
  },
  "hsl": {
    "h": 62.29,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7708,
    "c": 0.14915,
    "h": 111.6
  },
  "luminance": 0.46891
}

Semantic roles & 50–950 ramp

primary
#B8BD3A
secondary
#8C8AC9
accent
#4BDC51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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