#B7CD3C#B7CD3C

#B7CD3C is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.166 H 117.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#B7CD3C
RGBrgb(183, 205, 60)
HSLhsl(69, 59%, 52%)
HSVhsv(69, 71%, 80%)
CMYKcmyk(10.7%, 0%, 70.7%, 19.6%)
CIE-LABlab(78.49, -25.93, 65.75)
CIE-LCHlch(78.49, 70.68, 111.53°)
OKLaboklab(80.57% -0.0774 0.1465)
OKLCHoklch(80.57% 0.166 117.8)
XYZxyz(42.1763, 54.0566, 12.4862)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD3C #523CCD
analogous
#CD9A3C #B7CD3C #6FCD3C
triadic
#B7CD3C #3CB7CD #CD3CB7
tetradic
#B7CD3C #3CCD9A #523CCD #CD3C6F
square
#B7CD3C #3CCD9A #523CCD #CD3C6F
split-complementary
#B7CD3C #3C6FCD #9A3CCD
monochromatic
#65711D #90A22A #B7CD3C #C9D96D #DBE69D

Accessibility & contrast

On white

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

On black

11.81
#B7CD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CD3C
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CD3C#FFFFFF#000000##000000
##B7CD3C1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC222
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cd3c;
/* rgb */ color: rgb(183, 205, 60);
/* oklch */ color: oklch(80.6% 0.166 117.8);
Tailwind
colors: {
  custom: {
    50: '#d0dc7b',
    500: '#b7cd3c',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd3c;
$custom-light: #d0dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd3c",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 69.103,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80573,
    "c": 0.16571,
    "h": 117.8
  },
  "luminance": 0.54056
}

Semantic roles & 50–950 ramp

primary
#B7CD3C
secondary
#3E337A
accent
#45E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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