#B8BA22#B8BA22

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

Color values

HEX#B8BA22
RGBrgb(184, 186, 34)
HSLhsl(61, 69%, 43%)
HSVhsv(61, 82%, 73%)
CMYKcmyk(1.1%, 0%, 81.7%, 27.1%)
CIE-LABlab(73.17, -17.26, 68.94)
CIE-LCHlch(73.17, 71.07, 104.05°)
OKLaboklab(76.28% -0.0555 0.1488)
OKLCHoklch(76.28% 0.159 110.4)
XYZxyz(37.6162, 45.4248, 8.2994)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA22 #2422BA
analogous
#BA7022 #B8BA22 #6CBA22
triadic
#B8BA22 #22B8BA #BA22B8
tetradic
#B8BA22 #22BA70 #2422BA #BA226C
square
#B8BA22 #22BA70 #2422BA #BA226C
split-complementary
#B8BA22 #226CBA #7022BA
monochromatic
#52530F #858619 #B8BA22 #DADC3E #E4E571

Accessibility & contrast

On white

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

On black

10.08
#B8BA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA22
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA22#FFFFFF#000000##000000
##B8BA221.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ba22;
/* rgb */ color: rgb(184, 186, 34);
/* oklch */ color: oklch(76.3% 0.159 110.4);
Tailwind
colors: {
  custom: {
    50: '#d1ce6d',
    500: '#b8ba22',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba22;
$custom-light: #d1ce6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba22",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 34
  },
  "hsl": {
    "h": 60.789,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76281,
    "c": 0.15878,
    "h": 110.4
  },
  "luminance": 0.45424
}

Semantic roles & 50–950 ramp

primary
#B8BA22
secondary
#6D6CCC
accent
#3CEC3E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BA22

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

Preview Lab → · Contrast checker → · Palette generator →

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