#B7C52A#B7C52A

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

Color values

HEX#B7C52A
RGBrgb(183, 197, 42)
HSLhsl(65, 65%, 47%)
HSVhsv(65, 79%, 77%)
CMYKcmyk(7.1%, 0%, 78.7%, 22.7%)
CIE-LABlab(76.17, -22.87, 69.38)
CIE-LCHlch(76.17, 73.05, 108.24°)
OKLaboklab(78.68% -0.0704 0.1512)
OKLCHoklch(78.68% 0.167 115)
XYZxyz(39.9138, 50.1677, 9.7708)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C52A #382AC5
analogous
#C5852A #B7C52A #6AC52A
triadic
#B7C52A #2AB7C5 #C52AB7
tetradic
#B7C52A #2AC585 #382AC5 #C52A6A
square
#B7C52A #2AC585 #382AC5 #C52A6A
split-complementary
#B7C52A #2A6AC5 #852AC5
monochromatic
#596014 #88931F #B7C52A #CEDA52 #DCE585

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C52A#FFFFFF#000000##000000
##B7C52A1.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)
#D3BD39
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c52a;
/* rgb */ color: rgb(183, 197, 42);
/* oklch */ color: oklch(78.7% 0.167 115.0);
Tailwind
colors: {
  custom: {
    50: '#d1d672',
    500: '#b7c52a',
    950: '#000000',
  },
}
SCSS
$custom: #b7c52a;
$custom-light: #d1d672;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c52a",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 42
  },
  "hsl": {
    "h": 65.419,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78677,
    "c": 0.16672,
    "h": 115
  },
  "luminance": 0.50167
}

Semantic roles & 50–950 ramp

primary
#B7C52A
secondary
#2E286B
accent
#40E84F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C52A

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

Preview Lab → · Contrast checker → · Palette generator →

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