#B8BE40#B8BE40

#B8BE40 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.146 H 112.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#B8BE40
RGBrgb(184, 190, 64)
HSLhsl(63, 50%, 50%)
HSVhsv(63, 66%, 75%)
CMYKcmyk(3.2%, 0%, 66.3%, 25.5%)
CIE-LABlab(74.44, -17.93, 60.21)
CIE-LCHlch(74.44, 62.82, 106.58°)
OKLaboklab(77.35% -0.0547 0.1355)
OKLCHoklch(77.35% 0.146 112)
XYZxyz(39.1072, 47.3883, 11.9363)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BE40 #4640BE
analogous
#BE8540 #B8BE40 #79BE40
triadic
#B8BE40 #40B8BE #BE40B8
tetradic
#B8BE40 #40BE85 #4640BE #BE4079
square
#B8BE40 #40BE85 #4640BE #BE4079
split-complementary
#B8BE40 #4079BE #8540BE
monochromatic
#5F6221 #8C9031 #B8BE40 #C9CE6D #DADD9B

Accessibility & contrast

On white

2.00
#B8BE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#B8BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BE40
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BE40#FFFFFF#000000##000000
##B8BE401.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#C4B3A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8be40;
/* rgb */ color: rgb(184, 190, 64);
/* oklch */ color: oklch(77.3% 0.146 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d17c',
    500: '#b8be40',
    950: '#000000',
  },
}
SCSS
$custom: #b8be40;
$custom-light: #d0d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8be40",
  "rgb": {
    "r": 184,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 62.857,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77346,
    "c": 0.14612,
    "h": 112
  },
  "luminance": 0.47387
}

Semantic roles & 50–950 ramp

primary
#B8BE40
secondary
#9390C9
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B8BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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