#B7C527#B7C527

#B7C527 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.7% C 0.168 H 114.9°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#B7C527
RGBrgb(183, 197, 39)
HSLhsl(65, 67%, 46%)
HSVhsv(65, 80%, 77%)
CMYKcmyk(7.1%, 0%, 80.2%, 22.7%)
CIE-LABlab(76.16, -22.98, 70.19)
CIE-LCHlch(76.16, 73.86, 108.12°)
OKLaboklab(78.66% -0.0709 0.1524)
OKLCHoklch(78.66% 0.168 114.9)
XYZxyz(39.8621, 50.1470, 9.4985)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C527 #3527C5
analogous
#C58427 #B7C527 #68C527
triadic
#B7C527 #27B7C5 #C527B7
tetradic
#B7C527 #27C584 #3527C5 #C52768
square
#B7C527 #27C584 #3527C5 #C52768
split-complementary
#B7C527 #2768C5 #8427C5
monochromatic
#585F13 #88921D #B7C527 #CFDC4D #DDE680

Accessibility & contrast

On white

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

On black

11.03
#B7C527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C527
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C527#FFFFFF#000000##000000
##B7C5271.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD37
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c527;
/* rgb */ color: rgb(183, 197, 39);
/* oklch */ color: oklch(78.7% 0.168 114.9);
Tailwind
colors: {
  custom: {
    50: '#d1d670',
    500: '#b7c527',
    950: '#000000',
  },
}
SCSS
$custom: #b7c527;
$custom-light: #d1d670;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c527",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 39
  },
  "hsl": {
    "h": 65.316,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.78662,
    "c": 0.16805,
    "h": 114.9
  },
  "luminance": 0.50146
}

Semantic roles & 50–950 ramp

primary
#B7C527
secondary
#2C266A
accent
#3EEA4D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B7C527

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

Preview Lab → · Contrast checker → · Palette generator →

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