#B9C82F#B9C82F

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

Color values

HEX#B9C82F
RGBrgb(185, 200, 47)
HSLhsl(66, 62%, 48%)
HSVhsv(66, 77%, 78%)
CMYKcmyk(7.5%, 0%, 76.5%, 21.6%)
CIE-LABlab(77.18, -23.30, 68.87)
CIE-LCHlch(77.18, 72.70, 108.69°)
OKLaboklab(79.53% -0.0713 0.1509)
OKLCHoklch(79.53% 0.167 115.3)
XYZxyz(41.1761, 51.8288, 10.5236)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C82F #3E2FC8
analogous
#C88A2F #B9C82F #6DC82F
triadic
#B9C82F #2FB9C8 #C82FB9
tetradic
#B9C82F #2FC88A #3E2FC8 #C82F6D
square
#B9C82F #2FC88A #3E2FC8 #C82F6D
split-complementary
#B9C82F #2F6DC8 #8A2FC8
monochromatic
#5D6518 #8B9623 #B9C82F #CCD95C #DCE48D

Accessibility & contrast

On white

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

On black

11.37
#B9C82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C82F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C82F#FFFFFF#000000##000000
##B9C82F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE01
Deuteranopia (green-blind)
#D5C03D
Tritanopia (blue-blind)
#C5BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c82f;
/* rgb */ color: rgb(185, 200, 47);
/* oklch */ color: oklch(79.5% 0.167 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d874',
    500: '#b9c82f',
    950: '#000000',
  },
}
SCSS
$custom: #b9c82f;
$custom-light: #d2d874;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c82f",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 65.882,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79529,
    "c": 0.16685,
    "h": 115.3
  },
  "luminance": 0.51828
}

Semantic roles & 50–950 ramp

primary
#B9C82F
secondary
#332C6F
accent
#43E553
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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