#B8BD38#B8BD38

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

Color values

HEX#B8BD38
RGBrgb(184, 189, 56)
HSLhsl(62, 54%, 48%)
HSVhsv(62, 70%, 74%)
CMYKcmyk(2.6%, 0%, 70.4%, 25.9%)
CIE-LABlab(74.11, -17.87, 62.92)
CIE-LCHlch(74.11, 65.41, 105.85°)
OKLaboklab(77.07% -0.0553 0.1399)
OKLCHoklch(77.07% 0.15 111.6)
XYZxyz(38.6798, 46.8720, 10.7503)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD38 #3D38BD
analogous
#BD8038 #B8BD38 #75BD38
triadic
#B8BD38 #38B8BD #BD38B8
tetradic
#B8BD38 #38BD80 #3D38BD #BD3875
square
#B8BD38 #38BD80 #3D38BD #BD3875
split-complementary
#B8BD38 #3875BD #8038BD
monochromatic
#5C5F1C #8A8E2A #B8BD38 #CCD062 #DBDE91

Accessibility & contrast

On white

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

On black

10.37
#B8BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD38
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD38#FFFFFF#000000##000000
##B8BD381.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8bd38;
/* rgb */ color: rgb(184, 189, 56);
/* oklch */ color: oklch(77.1% 0.150 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d077',
    500: '#b8bd38',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd38;
$custom-light: #d1d077;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd38",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 62.256,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77065,
    "c": 0.15043,
    "h": 111.6
  },
  "luminance": 0.46871
}

Semantic roles & 50–950 ramp

primary
#B8BD38
secondary
#8A87C9
accent
#4ADE50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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