#B8BD40#B8BD40

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

Color values

HEX#B8BD40
RGBrgb(184, 189, 64)
HSLhsl(62, 49%, 50%)
HSVhsv(62, 66%, 74%)
CMYKcmyk(2.6%, 0%, 66.1%, 25.9%)
CIE-LABlab(74.16, -17.43, 59.93)
CIE-LCHlch(74.16, 62.41, 106.22°)
OKLaboklab(77.13% -0.0533 0.1349)
OKLCHoklch(77.13% 0.145 111.6)
XYZxyz(38.8913, 46.9566, 11.8643)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD40 #4540BD
analogous
#BD8440 #B8BD40 #7ABD40
triadic
#B8BD40 #40B8BD #BD40B8
tetradic
#B8BD40 #40BD84 #4540BD #BD407A
square
#B8BD40 #40BD84 #4540BD #BD407A
split-complementary
#B8BD40 #407ABD #8440BD
monochromatic
#5F6221 #8B8F31 #B8BD40 #CACD6D #DADD9A

Accessibility & contrast

On white

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

On black

10.39
#B8BD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD40
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD40#FFFFFF#000000##000000
##B8BD401.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#C4B2A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd40;
/* rgb */ color: rgb(184, 189, 64);
/* oklch */ color: oklch(77.1% 0.145 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0d07c',
    500: '#b8bd40',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd40;
$custom-light: #d0d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd40",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 62.4,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77126,
    "c": 0.14504,
    "h": 111.6
  },
  "luminance": 0.46956
}

Semantic roles & 50–950 ramp

primary
#B8BD40
secondary
#9290C9
accent
#4FD954
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B8BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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