#B7CC40#B7CC40

#B7CC40 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.4% C 0.162 H 117.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#B7CC40
RGBrgb(183, 204, 64)
HSLhsl(69, 58%, 53%)
HSVhsv(69, 69%, 80%)
CMYKcmyk(10.3%, 0%, 68.6%, 20%)
CIE-LABlab(78.24, -25.23, 64.04)
CIE-LCHlch(78.24, 68.83, 111.50°)
OKLaboklab(80.38% -0.075 0.1436)
OKLCHoklch(80.38% 0.162 117.6)
XYZxyz(42.0476, 53.6236, 12.9848)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC40 #5540CC
analogous
#CC9B40 #B7CC40 #71CC40
triadic
#B7CC40 #40B7CC #CC40B7
tetradic
#B7CC40 #40CC9B #5540CC #CC4071
square
#B7CC40 #40CC9B #5540CC #CC4071
split-complementary
#B7CC40 #4071CC #9B40CC
monochromatic
#66731F #91A32C #B7CC40 #C9D970 #DBE6A1

Accessibility & contrast

On white

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

On black

11.72
#B7CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC40
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC40#FFFFFF#000000##000000
##B7CC401.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7cc40;
/* rgb */ color: rgb(183, 204, 64);
/* oklch */ color: oklch(80.4% 0.162 117.6);
Tailwind
colors: {
  custom: {
    50: '#d0db7d',
    500: '#b7cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc40;
$custom-light: #d0db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc40",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 69,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80378,
    "c": 0.162,
    "h": 117.6
  },
  "luminance": 0.53623
}

Semantic roles & 50–950 ramp

primary
#B7CC40
secondary
#3F347C
accent
#47E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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