#B7C834#B7C834

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

Color values

HEX#B7C834
RGBrgb(183, 200, 52)
HSLhsl(67, 59%, 49%)
HSVhsv(67, 74%, 78%)
CMYKcmyk(8.5%, 0%, 74%, 21.6%)
CIE-LABlab(77.06, -23.92, 67.11)
CIE-LCHlch(77.06, 71.25, 109.61°)
OKLaboklab(79.4% -0.0725 0.1481)
OKLCHoklch(79.4% 0.165 116.1)
XYZxyz(40.8036, 51.6244, 11.0631)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C834 #4534C8
analogous
#C88F34 #B7C834 #6DC834
triadic
#B7C834 #34B7C8 #C834B7
tetradic
#B7C834 #34C88F #4534C8 #C8346D
square
#B7C834 #34C88F #4534C8 #C8346D
split-complementary
#B7C834 #346DC8 #8F34C8
monochromatic
#5E671B #8B9727 #B7C834 #C9D663 #DAE393

Accessibility & contrast

On white

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

On black

11.32
#B7C834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C834
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C834#FFFFFF#000000##000000
##B7C8341.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD13
Deuteranopia (green-blind)
#D5BF41
Tritanopia (blue-blind)
#C3BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b7c834;
/* rgb */ color: rgb(183, 200, 52);
/* oklch */ color: oklch(79.4% 0.165 116.1);
Tailwind
colors: {
  custom: {
    50: '#d0d877',
    500: '#b7c834',
    950: '#000000',
  },
}
SCSS
$custom: #b7c834;
$custom-light: #d0d877;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c834",
  "rgb": {
    "r": 183,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 66.892,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79402,
    "c": 0.16485,
    "h": 116.1
  },
  "luminance": 0.51624
}

Semantic roles & 50–950 ramp

primary
#B7C834
secondary
#372F71
accent
#46E258
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C834

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

Preview Lab → · Contrast checker → · Palette generator →

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