#B7CD2C#B7CD2C

#B7CD2C is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.5% C 0.174 H 117.6°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#B7CD2C
RGBrgb(183, 205, 44)
HSLhsl(68, 65%, 49%)
HSVhsv(68, 79%, 80%)
CMYKcmyk(10.7%, 0%, 78.5%, 19.6%)
CIE-LABlab(78.41, -26.66, 70.81)
CIE-LCHlch(78.41, 75.67, 110.63°)
OKLaboklab(80.48% -0.0807 0.1546)
OKLCHoklch(80.48% 0.174 117.6)
XYZxyz(41.8154, 53.9122, 10.5857)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD2C #422CCD
analogous
#CD932C #B7CD2C #67CD2C
triadic
#B7CD2C #2CB7CD #CD2CB7
tetradic
#B7CD2C #2CCD93 #422CCD #CD2C67
square
#B7CD2C #2CCD93 #422CCD #CD2C67
split-complementary
#B7CD2C #2C67CD #932CCD
monochromatic
#5D6816 #8A9B21 #B7CD2C #CADC5B #DAE78D

Accessibility & contrast

On white

1.78
#B7CD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#B7CD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CD2C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CD2C#FFFFFF#000000##000000
##B7CD2C1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#D9C33C
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cd2c;
/* rgb */ color: rgb(183, 205, 44);
/* oklch */ color: oklch(80.5% 0.174 117.6);
Tailwind
colors: {
  custom: {
    50: '#d1dc74',
    500: '#b7cd2c',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd2c;
$custom-light: #d1dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd2c",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 68.199,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80478,
    "c": 0.17434,
    "h": 117.6
  },
  "luminance": 0.53912
}

Semantic roles & 50–950 ramp

primary
#B7CD2C
secondary
#352B72
accent
#40E857
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B7CD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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