#B7CC42#B7CC42

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

Color values

HEX#B7CC42
RGBrgb(183, 204, 66)
HSLhsl(69, 58%, 53%)
HSVhsv(69, 68%, 80%)
CMYKcmyk(10.3%, 0%, 67.6%, 20%)
CIE-LABlab(78.26, -25.12, 63.30)
CIE-LCHlch(78.26, 68.10, 111.64°)
OKLaboklab(80.39% -0.0745 0.1423)
OKLCHoklch(80.39% 0.161 117.6)
XYZxyz(42.1056, 53.6468, 13.2899)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC42 #5742CC
analogous
#CC9C42 #B7CC42 #72CC42
triadic
#B7CC42 #42B7CC #CC42B7
tetradic
#B7CC42 #42CC9C #5742CC #CC4272
square
#B7CC42 #42CC9C #5742CC #CC4272
split-complementary
#B7CC42 #4272CC #9C42CC
monochromatic
#67741F #92A42C #B7CC42 #C9D972 #DCE6A2

Accessibility & contrast

On white

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

On black

11.73
#B7CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC42
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC42#FFFFFF#000000##000000
##B7CC421.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#C2C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cc42;
/* rgb */ color: rgb(183, 204, 66);
/* oklch */ color: oklch(80.4% 0.161 117.6);
Tailwind
colors: {
  custom: {
    50: '#d0db7e',
    500: '#b7cc42',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc42;
$custom-light: #d0db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc42",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 69.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80393,
    "c": 0.16066,
    "h": 117.6
  },
  "luminance": 0.53646
}

Semantic roles & 50–950 ramp

primary
#B7CC42
secondary
#40357D
accent
#47E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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