#B7C841#B7C841

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

Color values

HEX#B7C841
RGBrgb(183, 200, 65)
HSLhsl(68, 55%, 52%)
HSVhsv(68, 68%, 78%)
CMYKcmyk(8.5%, 0%, 67.5%, 21.6%)
CIE-LABlab(77.14, -23.23, 62.55)
CIE-LCHlch(77.14, 66.72, 110.38°)
OKLaboklab(79.49% -0.0694 0.1406)
OKLCHoklch(79.49% 0.157 116.3)
XYZxyz(41.1378, 51.7580, 12.8232)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C841 #5241C8
analogous
#C89641 #B7C841 #73C841
triadic
#B7C841 #41B7C8 #C841B7
tetradic
#B7C841 #41C896 #5241C8 #C84173
square
#B7C841 #41C896 #5241C8 #C84173
split-complementary
#B7C841 #4173C8 #9641C8
monochromatic
#656F20 #909E2E #B7C841 #C9D670 #DBE3A0

Accessibility & contrast

On white

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

On black

11.35
#B7C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C841
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C841#FFFFFF#000000##000000
##B7C8411.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2D
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#C2BDAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c841;
/* rgb */ color: rgb(183, 200, 65);
/* oklch */ color: oklch(79.5% 0.157 116.3);
Tailwind
colors: {
  custom: {
    50: '#d0d87d',
    500: '#b7c841',
    950: '#000000',
  },
}
SCSS
$custom: #b7c841;
$custom-light: #d0d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c841",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 67.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79492,
    "c": 0.15677,
    "h": 116.3
  },
  "luminance": 0.51757
}

Semantic roles & 50–950 ramp

primary
#B7C841
secondary
#3E3578
accent
#49DE5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C841

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

Preview Lab → · Contrast checker → · Palette generator →

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