#B8CA3A#B8CA3A

#B8CA3A is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.163 H 116.5°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#B8CA3A
RGBrgb(184, 202, 58)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 71%, 79%)
CMYKcmyk(8.9%, 0%, 71.3%, 20.8%)
CIE-LABlab(77.72, -24.18, 65.73)
CIE-LCHlch(77.72, 70.04, 110.20°)
OKLaboklab(79.96% -0.0727 0.1461)
OKLCHoklch(79.96% 0.163 116.5)
XYZxyz(41.6524, 52.7375, 11.9873)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA3A #4C3ACA
analogous
#CA943A #B8CA3A #70CA3A
triadic
#B8CA3A #3AB8CA #CA3AB8
tetradic
#B8CA3A #3ACA94 #4C3ACA #CA3A70
square
#B8CA3A #3ACA94 #4C3ACA #CA3A70
split-complementary
#B8CA3A #3A70CA #943ACA
monochromatic
#636C1D #8E9D2A #B8CA3A #C9D76A #DBE49A

Accessibility & contrast

On white

1.82
#B8CA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#B8CA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA3A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA3A#FFFFFF#000000##000000
##B8CA3A1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF20
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#C4BFAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b8ca3a;
/* rgb */ color: rgb(184, 202, 58);
/* oklch */ color: oklch(80.0% 0.163 116.5);
Tailwind
colors: {
  custom: {
    50: '#d1da7a',
    500: '#b8ca3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca3a;
$custom-light: #d1da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca3a",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 58
  },
  "hsl": {
    "h": 67.5,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79964,
    "c": 0.16323,
    "h": 116.5
  },
  "luminance": 0.52737
}

Semantic roles & 50–950 ramp

primary
#B8CA3A
secondary
#3B3276
accent
#47E15A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8CA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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