#B7C541#B7C541

#B7C541 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.8% C 0.153 H 115.2°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#B7C541
RGBrgb(183, 197, 65)
HSLhsl(66, 53%, 51%)
HSVhsv(66, 67%, 77%)
CMYKcmyk(7.1%, 0%, 67%, 22.7%)
CIE-LABlab(76.30, -21.77, 61.70)
CIE-LCHlch(76.30, 65.42, 109.43°)
OKLaboklab(78.82% -0.0653 0.1388)
OKLCHoklch(78.82% 0.153 115.2)
XYZxyz(40.4498, 50.3821, 12.5939)
Luminance0.5038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C541 #4F41C5
analogous
#C59141 #B7C541 #75C541
triadic
#B7C541 #41B7C5 #C541B7
tetradic
#B7C541 #41C591 #4F41C5 #C54175
square
#B7C541 #41C591 #4F41C5 #C54175
split-complementary
#B7C541 #4175C5 #9141C5
monochromatic
#636B21 #8F9A2F #B7C541 #C9D370 #DBE29F

Accessibility & contrast

On white

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

On black

11.08
#B7C541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C541
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C541#FFFFFF#000000##000000
##B7C5411.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2E
Deuteranopia (green-blind)
#D2BD4B
Tritanopia (blue-blind)
#C2BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c541;
/* rgb */ color: rgb(183, 197, 65);
/* oklch */ color: oklch(78.8% 0.153 115.2);
Tailwind
colors: {
  custom: {
    50: '#d0d67d',
    500: '#b7c541',
    950: '#000000',
  },
}
SCSS
$custom: #b7c541;
$custom-light: #d0d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c541",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 66.364,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78824,
    "c": 0.15339,
    "h": 115.2
  },
  "luminance": 0.50381
}

Semantic roles & 50–950 ramp

primary
#B7C541
secondary
#3C3575
accent
#4BDD5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C541

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

Preview Lab → · Contrast checker → · Palette generator →

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