#B7C837#B7C837

#B7C837 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.4% C 0.163 H 116.1°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#B7C837
RGBrgb(183, 200, 55)
HSLhsl(67, 57%, 50%)
HSVhsv(67, 73%, 78%)
CMYKcmyk(8.5%, 0%, 72.5%, 21.6%)
CIE-LABlab(77.07, -23.77, 66.12)
CIE-LCHlch(77.07, 70.27, 109.77°)
OKLaboklab(79.42% -0.0718 0.1465)
OKLCHoklch(79.42% 0.163 116.1)
XYZxyz(40.8734, 51.6523, 11.4304)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C837 #4837C8
analogous
#C89037 #B7C837 #6FC837
triadic
#B7C837 #37B7C8 #C837B7
tetradic
#B7C837 #37C890 #4837C8 #C8376F
square
#B7C837 #37C890 #4837C8 #C8376F
split-complementary
#B7C837 #376FC8 #9037C8
monochromatic
#5F681D #8B982A #B7C837 #C8D567 #DAE297

Accessibility & contrast

On white

1.85
#B7C837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#B7C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C837
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C837#FFFFFF#000000##000000
##B7C8371.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1A
Deuteranopia (green-blind)
#D5BF43
Tritanopia (blue-blind)
#C3BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c837;
/* rgb */ color: rgb(183, 200, 55);
/* oklch */ color: oklch(79.4% 0.163 116.1);
Tailwind
colors: {
  custom: {
    50: '#d0d878',
    500: '#b7c837',
    950: '#000000',
  },
}
SCSS
$custom: #b7c837;
$custom-light: #d0d878;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c837",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 67.034,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.7942,
    "c": 0.16314,
    "h": 116.1
  },
  "luminance": 0.51652
}

Semantic roles & 50–950 ramp

primary
#B7C837
secondary
#393172
accent
#48E05A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7C837

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

Preview Lab → · Contrast checker → · Palette generator →

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