#B7C835#B7C835

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

Color values

HEX#B7C835
RGBrgb(183, 200, 53)
HSLhsl(67, 58%, 50%)
HSVhsv(67, 74%, 78%)
CMYKcmyk(8.5%, 0%, 73.5%, 21.6%)
CIE-LABlab(77.06, -23.87, 66.79)
CIE-LCHlch(77.06, 70.93, 109.67°)
OKLaboklab(79.41% -0.0722 0.1475)
OKLCHoklch(79.41% 0.164 116.1)
XYZxyz(40.8264, 51.6335, 11.1830)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C835 #4635C8
analogous
#C89035 #B7C835 #6DC835
triadic
#B7C835 #35B7C8 #C835B7
tetradic
#B7C835 #35C890 #4635C8 #C8356D
square
#B7C835 #35C890 #4635C8 #C8356D
split-complementary
#B7C835 #356DC8 #9035C8
monochromatic
#5E671B #8B9828 #B7C835 #C9D664 #DAE395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C835#FFFFFF#000000##000000
##B7C8351.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)
#D6BD16
Deuteranopia (green-blind)
#D5BF42
Tritanopia (blue-blind)
#C3BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c835;
/* rgb */ color: rgb(183, 200, 53);
/* oklch */ color: oklch(79.4% 0.164 116.1);
Tailwind
colors: {
  custom: {
    50: '#d0d877',
    500: '#b7c835',
    950: '#000000',
  },
}
SCSS
$custom: #b7c835;
$custom-light: #d0d877;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c835",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 66.939,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79408,
    "c": 0.16429,
    "h": 116.1
  },
  "luminance": 0.51633
}

Semantic roles & 50–950 ramp

primary
#B7C835
secondary
#373071
accent
#46E158
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C835

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

Preview Lab → · Contrast checker → · Palette generator →

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