#B7CD3B#B7CD3B

#B7CD3B is a light, vivid yellow. Relative luminance 0.540; 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#B7CD3B
RGBrgb(183, 205, 59)
HSLhsl(69, 59%, 52%)
HSVhsv(69, 71%, 80%)
CMYKcmyk(10.7%, 0%, 71.2%, 19.6%)
CIE-LABlab(78.49, -25.99, 66.10)
CIE-LCHlch(78.49, 71.03, 111.46°)
OKLaboklab(80.57% -0.0776 0.1471)
OKLCHoklch(80.57% 0.166 117.8)
XYZxyz(42.1501, 54.0461, 12.3483)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CD3B #513BCD
analogous
#CD9A3B #B7CD3B #6ECD3B
triadic
#B7CD3B #3BB7CD #CD3BB7
tetradic
#B7CD3B #3BCD9A #513BCD #CD3B6E
square
#B7CD3B #3BCD9A #513BCD #CD3B6E
split-complementary
#B7CD3B #3B6ECD #9A3BCD
monochromatic
#64711D #8FA229 #B7CD3B #C9D96C #DBE69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CD3B#FFFFFF#000000##000000
##B7CD3B1.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)
#DBC220
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b7cd3b;
/* rgb */ color: rgb(183, 205, 59);
/* oklch */ color: oklch(80.6% 0.166 117.8);
Tailwind
colors: {
  custom: {
    50: '#d0dc7a',
    500: '#b7cd3b',
    950: '#000000',
  },
}
SCSS
$custom: #b7cd3b;
$custom-light: #d0dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cd3b",
  "rgb": {
    "r": 183,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 69.041,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80566,
    "c": 0.16632,
    "h": 117.8
  },
  "luminance": 0.54046
}

Semantic roles & 50–950 ramp

primary
#B7CD3B
secondary
#3D327A
accent
#45E35D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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