#B8CB3A#B8CB3A

#B8CB3A is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.2% C 0.164 H 116.8°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#B8CB3A
RGBrgb(184, 203, 58)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(9.4%, 0%, 71.4%, 20.4%)
CIE-LABlab(78.00, -24.66, 66.00)
CIE-LCHlch(78.00, 70.46, 110.49°)
OKLaboklab(80.19% -0.0741 0.1467)
OKLCHoklch(80.19% 0.164 116.8)
XYZxyz(41.8878, 53.2082, 12.0658)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CB3A #4D3ACB
analogous
#CB953A #B8CB3A #6FCB3A
triadic
#B8CB3A #3AB8CB #CB3AB8
tetradic
#B8CB3A #3ACB95 #4D3ACB #CB3A6F
square
#B8CB3A #3ACB95 #4D3ACB #CB3A6F
split-complementary
#B8CB3A #3A6FCB #953ACB
monochromatic
#636E1D #8F9E2A #B8CB3A #C9D86A #DBE59B

Accessibility & contrast

On white

1.80
#B8CB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#B8CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CB3A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CB3A#FFFFFF#000000##000000
##B8CB3A1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01F
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#C3C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8cb3a;
/* rgb */ color: rgb(184, 203, 58);
/* oklch */ color: oklch(80.2% 0.164 116.8);
Tailwind
colors: {
  custom: {
    50: '#d1da7a',
    500: '#b8cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8cb3a;
$custom-light: #d1da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cb3a",
  "rgb": {
    "r": 184,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 67.862,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80188,
    "c": 0.16434,
    "h": 116.8
  },
  "luminance": 0.53208
}

Semantic roles & 50–950 ramp

primary
#B8CB3A
secondary
#3B3277
accent
#46E15B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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