#B8C52F#B8C52F

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

Color values

HEX#B8C52F
RGBrgb(184, 197, 47)
HSLhsl(65, 61%, 48%)
HSVhsv(65, 76%, 77%)
CMYKcmyk(6.6%, 0%, 76.1%, 22.7%)
CIE-LABlab(76.27, -22.25, 68.01)
CIE-LCHlch(76.27, 71.56, 108.12°)
OKLaboklab(78.78% -0.0683 0.1491)
OKLCHoklch(78.78% 0.164 114.6)
XYZxyz(40.2477, 50.3288, 10.2830)
Luminance0.5033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C52F #3C2FC5
analogous
#C5872F #B8C52F #6DC52F
triadic
#B8C52F #2FB8C5 #C52FB8
tetradic
#B8C52F #2FC587 #3C2FC5 #C52F6D
square
#B8C52F #2FC587 #3C2FC5 #C52F6D
split-complementary
#B8C52F #2F6DC5 #872FC5
monochromatic
#5C6217 #8A9423 #B8C52F #CDD85A #DCE38B

Accessibility & contrast

On white

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

On black

11.07
#B8C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C52F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C52F#FFFFFF#000000##000000
##B8C52F1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8c52f;
/* rgb */ color: rgb(184, 197, 47);
/* oklch */ color: oklch(78.8% 0.164 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d674',
    500: '#b8c52f',
    950: '#000000',
  },
}
SCSS
$custom: #b8c52f;
$custom-light: #d1d674;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c52f",
  "rgb": {
    "r": 184,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 65.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78782,
    "c": 0.16398,
    "h": 114.6
  },
  "luminance": 0.50328
}

Semantic roles & 50–950 ramp

primary
#B8C52F
secondary
#312B6D
accent
#43E551
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B8C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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