#B7C52B#B7C52B

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

Color values

HEX#B7C52B
RGBrgb(183, 197, 43)
HSLhsl(65, 64%, 47%)
HSVhsv(65, 78%, 77%)
CMYKcmyk(7.1%, 0%, 78.2%, 22.7%)
CIE-LABlab(76.18, -22.83, 69.09)
CIE-LCHlch(76.18, 72.77, 108.29°)
OKLaboklab(78.68% -0.0702 0.1507)
OKLCHoklch(78.68% 0.166 115)
XYZxyz(39.9319, 50.1749, 9.8662)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C52B #392BC5
analogous
#C5862B #B7C52B #6AC52B
triadic
#B7C52B #2BB7C5 #C52BB7
tetradic
#B7C52B #2BC586 #392BC5 #C52B6A
square
#B7C52B #2BC586 #392BC5 #C52B6A
split-complementary
#B7C52B #2B6AC5 #862BC5
monochromatic
#5A6115 #889320 #B7C52B #CDDA54 #DCE586

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C52B#FFFFFF#000000##000000
##B7C52B1.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)
#D3BB00
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c52b;
/* rgb */ color: rgb(183, 197, 43);
/* oklch */ color: oklch(78.7% 0.166 115.0);
Tailwind
colors: {
  custom: {
    50: '#d0d672',
    500: '#b7c52b',
    950: '#000000',
  },
}
SCSS
$custom: #b7c52b;
$custom-light: #d0d672;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c52b",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 43
  },
  "hsl": {
    "h": 65.455,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78682,
    "c": 0.16626,
    "h": 115
  },
  "luminance": 0.50174
}

Semantic roles & 50–950 ramp

primary
#B7C52B
secondary
#2F296B
accent
#41E750
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C52B

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

Preview Lab → · Contrast checker → · Palette generator →

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