#B8BA27#B8BA27

#B8BA27 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.3% C 0.157 H 110.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#B8BA27
RGBrgb(184, 186, 39)
HSLhsl(61, 65%, 44%)
HSVhsv(61, 79%, 73%)
CMYKcmyk(1.1%, 0%, 79%, 27.1%)
CIE-LABlab(73.19, -17.09, 67.61)
CIE-LCHlch(73.19, 69.74, 104.19°)
OKLaboklab(76.3% -0.0547 0.1468)
OKLCHoklch(76.3% 0.157 110.4)
XYZxyz(37.6937, 45.4557, 8.7073)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA27 #2927BA
analogous
#BA7327 #B8BA27 #6FBA27
triadic
#B8BA27 #27B8BA #BA27B8
tetradic
#B8BA27 #27BA73 #2927BA #BA276F
square
#B8BA27 #27BA73 #2927BA #BA276F
split-complementary
#B8BA27 #276FBA #7327BA
monochromatic
#545512 #86871C #B8BA27 #D6D846 #E1E379

Accessibility & contrast

On white

2.08
#B8BA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#B8BA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA27
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA27#FFFFFF#000000##000000
##B8BA271.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#C5AE9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8ba27;
/* rgb */ color: rgb(184, 186, 39);
/* oklch */ color: oklch(76.3% 0.157 110.4);
Tailwind
colors: {
  custom: {
    50: '#d1ce6f',
    500: '#b8ba27',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba27;
$custom-light: #d1ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba27",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 60.816,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76303,
    "c": 0.15665,
    "h": 110.4
  },
  "luminance": 0.45455
}

Semantic roles & 50–950 ramp

primary
#B8BA27
secondary
#7372CB
accent
#40E842
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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