#B8C52C#B8C52C

#B8C52C is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.165 H 114.6°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#B8C52C
RGBrgb(184, 197, 44)
HSLhsl(65, 63%, 47%)
HSVhsv(65, 78%, 77%)
CMYKcmyk(6.6%, 0%, 77.7%, 22.7%)
CIE-LABlab(76.26, -22.37, 68.90)
CIE-LCHlch(76.26, 72.44, 107.99°)
OKLaboklab(78.77% -0.0689 0.1505)
OKLCHoklch(78.77% 0.165 114.6)
XYZxyz(40.1893, 50.3055, 9.9752)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C52C #392CC5
analogous
#C5862C #B8C52C #6CC52C
triadic
#B8C52C #2CB8C5 #C52CB8
tetradic
#B8C52C #2CC586 #392CC5 #C52C6C
square
#B8C52C #2CC586 #392CC5 #C52C6C
split-complementary
#B8C52C #2C6CC5 #862CC5
monochromatic
#5B6116 #899321 #B8C52C #CED955 #DCE487

Accessibility & contrast

On white

1.90
#B8C52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#B8C52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C52C
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C52C#FFFFFF#000000##000000
##B8C52C1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b8c52c;
/* rgb */ color: rgb(184, 197, 44);
/* oklch */ color: oklch(78.8% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d673',
    500: '#b8c52c',
    950: '#000000',
  },
}
SCSS
$custom: #b8c52c;
$custom-light: #d1d673;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c52c",
  "rgb": {
    "r": 184,
    "g": 197,
    "b": 44
  },
  "hsl": {
    "h": 65.098,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78766,
    "c": 0.16547,
    "h": 114.6
  },
  "luminance": 0.50305
}

Semantic roles & 50–950 ramp

primary
#B8C52C
secondary
#2F296C
accent
#41E74F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B8C52C

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

Preview Lab → · Contrast checker → · Palette generator →

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