#B7C52C#B7C52C

#B7C52C 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.04:1 contrast (WCAG AA passes).

Color values

HEX#B7C52C
RGBrgb(183, 197, 44)
HSLhsl(65, 63%, 47%)
HSVhsv(65, 78%, 77%)
CMYKcmyk(7.1%, 0%, 77.7%, 22.7%)
CIE-LABlab(76.18, -22.79, 68.81)
CIE-LCHlch(76.18, 72.48, 108.33°)
OKLaboklab(78.69% -0.07 0.1503)
OKLCHoklch(78.69% 0.166 115)
XYZxyz(39.9505, 50.1824, 9.9640)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C52C #3A2CC5
analogous
#C5862C #B7C52C #6BC52C
triadic
#B7C52C #2CB7C5 #C52CB7
tetradic
#B7C52C #2CC586 #3A2CC5 #C52C6B
square
#B7C52C #2CC586 #3A2CC5 #C52C6B
split-complementary
#B7C52C #2C6BC5 #862CC5
monochromatic
#5A6116 #899321 #B7C52C #CDD955 #DCE487

Accessibility & contrast

On white

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

On black

11.04
#B7C52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C52C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C52C#FFFFFF#000000##000000
##B7C52C1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.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: #b7c52c;
/* rgb */ color: rgb(183, 197, 44);
/* oklch */ color: oklch(78.7% 0.166 115.0);
Tailwind
colors: {
  custom: {
    50: '#d0d673',
    500: '#b7c52c',
    950: '#000000',
  },
}
SCSS
$custom: #b7c52c;
$custom-light: #d0d673;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c52c",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 44
  },
  "hsl": {
    "h": 65.49,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78687,
    "c": 0.16578,
    "h": 115
  },
  "luminance": 0.50182
}

Semantic roles & 50–950 ramp

primary
#B7C52C
secondary
#30296C
accent
#41E750
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C52C

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

Preview Lab → · Contrast checker → · Palette generator →

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