#B8CA38#B8CA38

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

Color values

HEX#B8CA38
RGBrgb(184, 202, 56)
HSLhsl(67, 58%, 51%)
HSVhsv(67, 72%, 79%)
CMYKcmyk(8.9%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.71, -24.28, 66.42)
CIE-LCHlch(77.71, 70.71, 110.08°)
OKLaboklab(79.95% -0.0732 0.1472)
OKLCHoklch(79.95% 0.164 116.4)
XYZxyz(41.6025, 52.7175, 11.7245)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA38 #4A38CA
analogous
#CA9338 #B8CA38 #6FCA38
triadic
#B8CA38 #38B8CA #CA38B8
tetradic
#B8CA38 #38CA93 #4A38CA #CA386F
square
#B8CA38 #38CA93 #4A38CA #CA386F
split-complementary
#B8CA38 #386FCA #9338CA
monochromatic
#616B1D #8D9B29 #B8CA38 #C9D768 #DAE499

Accessibility & contrast

On white

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

On black

11.54
#B8CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA38
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA38#FFFFFF#000000##000000
##B8CA381.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ca38;
/* rgb */ color: rgb(184, 202, 56);
/* oklch */ color: oklch(80.0% 0.164 116.4);
Tailwind
colors: {
  custom: {
    50: '#d1da79',
    500: '#b8ca38',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca38;
$custom-light: #d1da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca38",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 67.397,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79951,
    "c": 0.16442,
    "h": 116.4
  },
  "luminance": 0.52717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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