#B8CC38#B8CC38

#B8CC38 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.167 H 117.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#B8CC38
RGBrgb(184, 204, 56)
HSLhsl(68, 59%, 51%)
HSVhsv(68, 73%, 80%)
CMYKcmyk(9.8%, 0%, 72.5%, 20%)
CIE-LABlab(78.26, -25.25, 66.95)
CIE-LCHlch(78.26, 71.55, 110.66°)
OKLaboklab(80.4% -0.0759 0.1484)
OKLCHoklch(80.4% 0.167 117.1)
XYZxyz(42.0749, 53.6621, 11.8819)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC38 #4C38CC
analogous
#CC9638 #B8CC38 #6ECC38
triadic
#B8CC38 #38B8CC #CC38B8
tetradic
#B8CC38 #38CC96 #4C38CC #CC386E
square
#B8CC38 #38CC96 #4C38CC #CC386E
split-complementary
#B8CC38 #386ECC #9638CC
monochromatic
#636E1C #8E9E29 #B8CC38 #C9D869 #DBE599

Accessibility & contrast

On white

1.79
#B8CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#B8CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CC38
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CC38#FFFFFF#000000##000000
##B8CC381.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cc38;
/* rgb */ color: rgb(184, 204, 56);
/* oklch */ color: oklch(80.4% 0.167 117.1);
Tailwind
colors: {
  custom: {
    50: '#d1db79',
    500: '#b8cc38',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc38;
$custom-light: #d1db79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc38",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 68.108,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80398,
    "c": 0.16664,
    "h": 117.1
  },
  "luminance": 0.53662
}

Semantic roles & 50–950 ramp

primary
#B8CC38
secondary
#3B3177
accent
#45E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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