#B8C82F#B8C82F

#B8C82F is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.5% C 0.167 H 115.7°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#B8C82F
RGBrgb(184, 200, 47)
HSLhsl(66, 62%, 48%)
HSVhsv(66, 77%, 78%)
CMYKcmyk(8%, 0%, 76.5%, 21.6%)
CIE-LABlab(77.10, -23.72, 68.77)
CIE-LCHlch(77.10, 72.75, 109.03°)
OKLaboklab(79.45% -0.0724 0.1507)
OKLCHoklch(79.45% 0.167 115.7)
XYZxyz(40.9357, 51.7048, 10.5123)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C82F #3F2FC8
analogous
#C88C2F #B8C82F #6BC82F
triadic
#B8C82F #2FB8C8 #C82FB8
tetradic
#B8C82F #2FC88C #3F2FC8 #C82F6B
square
#B8C82F #2FC88C #3F2FC8 #C82F6B
split-complementary
#B8C82F #2F6BC8 #8C2FC8
monochromatic
#5D6518 #8A9623 #B8C82F #CCD95C #DBE48D

Accessibility & contrast

On white

1.85
#B8C82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#B8C82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C82F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C82F#FFFFFF#000000##000000
##B8C82F1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD01
Deuteranopia (green-blind)
#D5BF3D
Tritanopia (blue-blind)
#C4BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b8c82f;
/* rgb */ color: rgb(184, 200, 47);
/* oklch */ color: oklch(79.5% 0.167 115.7);
Tailwind
colors: {
  custom: {
    50: '#d1d874',
    500: '#b8c82f',
    950: '#000000',
  },
}
SCSS
$custom: #b8c82f;
$custom-light: #d1d874;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c82f",
  "rgb": {
    "r": 184,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 66.275,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79451,
    "c": 0.16717,
    "h": 115.7
  },
  "luminance": 0.51704
}

Semantic roles & 50–950 ramp

primary
#B8C82F
secondary
#332C6F
accent
#43E554
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B8C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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