#B7CC2D#B7CC2D

#B7CC2D is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.3% C 0.173 H 117.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#B7CC2D
RGBrgb(183, 204, 45)
HSLhsl(68, 64%, 49%)
HSVhsv(68, 78%, 80%)
CMYKcmyk(10.3%, 0%, 77.9%, 20%)
CIE-LABlab(78.14, -26.14, 70.28)
CIE-LCHlch(78.14, 74.99, 110.41°)
OKLaboklab(80.26% -0.0792 0.1536)
OKLCHoklch(80.26% 0.173 117.3)
XYZxyz(41.5960, 53.4430, 10.6064)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CC2D #422DCC
analogous
#CC922D #B7CC2D #67CC2D
triadic
#B7CC2D #2DB7CC #CC2DB7
tetradic
#B7CC2D #2DCC92 #422DCC #CC2D67
square
#B7CC2D #2DCC92 #422DCC #CC2D67
split-complementary
#B7CC2D #2D67CC #922DCC
monochromatic
#5D6817 #8A9A22 #B7CC2D #CADB5B #DAE68D

Accessibility & contrast

On white

1.80
#B7CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#B7CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CC2D
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CC2D#FFFFFF#000000##000000
##B7CC2D1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#C3C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cc2d;
/* rgb */ color: rgb(183, 204, 45);
/* oklch */ color: oklch(80.3% 0.173 117.3);
Tailwind
colors: {
  custom: {
    50: '#d1db74',
    500: '#b7cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7cc2d;
$custom-light: #d1db74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cc2d",
  "rgb": {
    "r": 183,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 67.925,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80259,
    "c": 0.17279,
    "h": 117.3
  },
  "luminance": 0.53442
}

Semantic roles & 50–950 ramp

primary
#B7CC2D
secondary
#352B72
accent
#41E757
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B7CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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