#B8CC3E#B8CC3E

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

Color values

HEX#B8CC3E
RGBrgb(184, 204, 62)
HSLhsl(68, 58%, 52%)
HSVhsv(68, 70%, 80%)
CMYKcmyk(9.8%, 0%, 69.6%, 20%)
CIE-LABlab(78.30, -24.94, 64.86)
CIE-LCHlch(78.30, 69.49, 111.03°)
OKLaboklab(80.44% -0.0745 0.145)
OKLCHoklch(80.44% 0.163 117.2)
XYZxyz(42.2305, 53.7244, 12.7016)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC3E #523ECC
analogous
#CC993E #B8CC3E #71CC3E
triadic
#B8CC3E #3EB8CC #CC3EB8
tetradic
#B8CC3E #3ECC99 #523ECC #CC3E71
square
#B8CC3E #3ECC99 #523ECC #CC3E71
split-complementary
#B8CC3E #3E71CC #993ECC
monochromatic
#66721E #91A22B #B8CC3E #CAD96E #DCE69F

Accessibility & contrast

On white

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

On black

11.74
#B8CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CC3E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CC3E#FFFFFF#000000##000000
##B8CC3E1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8cc3e;
/* rgb */ color: rgb(184, 204, 62);
/* oklch */ color: oklch(80.4% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#d1db7c',
    500: '#b8cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc3e;
$custom-light: #d1db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc3e",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 68.451,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80439,
    "c": 0.16297,
    "h": 117.2
  },
  "luminance": 0.53724
}

Semantic roles & 50–950 ramp

primary
#B8CC3E
secondary
#3E347B
accent
#46E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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