#B7CC45#B7CC45

#B7CC45 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.159 H 117.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#B7CC45
RGBrgb(183, 204, 69)
HSLhsl(69, 57%, 54%)
HSVhsv(69, 66%, 80%)
CMYKcmyk(10.3%, 0%, 66.2%, 20%)
CIE-LABlab(78.28, -24.93, 62.16)
CIE-LCHlch(78.28, 66.98, 111.86°)
OKLaboklab(80.42% -0.0737 0.1404)
OKLCHoklch(80.42% 0.159 117.7)
XYZxyz(42.1963, 53.6831, 13.7680)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC45 #5A45CC
analogous
#CC9D45 #B7CC45 #73CC45
triadic
#B7CC45 #45B7CC #CC45B7
tetradic
#B7CC45 #45CC9D #5A45CC #CC4573
square
#B7CC45 #45CC9D #5A45CC #CC4573
split-complementary
#B7CC45 #4573CC #9D45CC
monochromatic
#697620 #93A62E #B7CC45 #CAD975 #DCE6A5

Accessibility & contrast

On white

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

On black

11.74
#B7CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC45
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC45#FFFFFF#000000##000000
##B7CC451.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#D7C24F
Tritanopia (blue-blind)
#C2C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cc45;
/* rgb */ color: rgb(183, 204, 69);
/* oklch */ color: oklch(80.4% 0.159 117.7);
Tailwind
colors: {
  custom: {
    50: '#d0db80',
    500: '#b7cc45',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc45;
$custom-light: #d0db80;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc45",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 69.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80417,
    "c": 0.15857,
    "h": 117.7
  },
  "luminance": 0.53683
}

Semantic roles & 50–950 ramp

primary
#B7CC45
secondary
#42367F
accent
#48E05F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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