#B7CC3A#B7CC3A

#B7CC3A is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.3% C 0.166 H 117.5°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#B7CC3A
RGBrgb(183, 204, 58)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(10.3%, 0%, 71.6%, 20%)
CIE-LABlab(78.20, -25.56, 66.18)
CIE-LCHlch(78.20, 70.94, 111.12°)
OKLaboklab(80.34% -0.0765 0.1471)
OKLCHoklch(80.34% 0.166 117.5)
XYZxyz(41.8860, 53.5590, 12.1335)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC3A #4F3ACC
analogous
#CC983A #B7CC3A #6ECC3A
triadic
#B7CC3A #3AB7CC #CC3AB7
tetradic
#B7CC3A #3ACC98 #4F3ACC #CC3A6E
square
#B7CC3A #3ACC98 #4F3ACC #CC3A6E
split-complementary
#B7CC3A #3A6ECC #983ACC
monochromatic
#636F1D #8FA029 #B7CC3A #C9D96B #DBE59B

Accessibility & contrast

On white

1.79
#B7CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#B7CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC3A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC3A#FFFFFF#000000##000000
##B7CC3A1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C2C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cc3a;
/* rgb */ color: rgb(183, 204, 58);
/* oklch */ color: oklch(80.3% 0.166 117.5);
Tailwind
colors: {
  custom: {
    50: '#d0db7a',
    500: '#b7cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc3a;
$custom-light: #d0db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc3a",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 68.63,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80335,
    "c": 0.1658,
    "h": 117.5
  },
  "luminance": 0.53558
}

Semantic roles & 50–950 ramp

primary
#B7CC3A
secondary
#3C3278
accent
#46E25C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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