#B9C841#B9C841

#B9C841 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.156 H 115.5°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#B9C841
RGBrgb(185, 200, 65)
HSLhsl(67, 55%, 52%)
HSVhsv(67, 68%, 78%)
CMYKcmyk(7.5%, 0%, 67.5%, 21.6%)
CIE-LABlab(77.28, -22.41, 62.74)
CIE-LCHlch(77.28, 66.63, 109.65°)
OKLaboklab(79.65% -0.0672 0.141)
OKLCHoklch(79.65% 0.156 115.5)
XYZxyz(41.6170, 52.0051, 12.8456)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C841 #5041C8
analogous
#C89441 #B9C841 #75C841
triadic
#B9C841 #41B9C8 #C841B9
tetradic
#B9C841 #41C894 #5041C8 #C84175
square
#B9C841 #41C894 #5041C8 #C84175
split-complementary
#B9C841 #4175C8 #9441C8
monochromatic
#666F20 #929E2E #B9C841 #CAD670 #DCE3A0

Accessibility & contrast

On white

1.84
#B9C841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#B9C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C841
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C841#FFFFFF#000000##000000
##B9C8411.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2D
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#C5BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c841;
/* rgb */ color: rgb(185, 200, 65);
/* oklch */ color: oklch(79.6% 0.156 115.5);
Tailwind
colors: {
  custom: {
    50: '#d1d87d',
    500: '#b9c841',
    950: '#000000',
  },
}
SCSS
$custom: #b9c841;
$custom-light: #d1d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c841",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 66.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79647,
    "c": 0.15615,
    "h": 115.5
  },
  "luminance": 0.52004
}

Semantic roles & 50–950 ramp

primary
#B9C841
secondary
#3D3578
accent
#49DE5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C841

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

Preview Lab → · Contrast checker → · Palette generator →

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