#B7C733#B7C733

#B7C733 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.2% C 0.164 H 115.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#B7C733
RGBrgb(183, 199, 51)
HSLhsl(66, 59%, 49%)
HSVhsv(66, 74%, 78%)
CMYKcmyk(8%, 0%, 74.4%, 22%)
CIE-LABlab(76.77, -23.47, 67.18)
CIE-LCHlch(76.77, 71.16, 109.26°)
OKLaboklab(79.17% -0.0713 0.148)
OKLCHoklch(79.17% 0.164 115.7)
XYZxyz(40.5505, 51.1538, 10.8688)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C733 #4333C7
analogous
#C78D33 #B7C733 #6DC733
triadic
#B7C733 #33B7C7 #C733B7
tetradic
#B7C733 #33C78D #4333C7 #C7336D
square
#B7C733 #33C78D #4333C7 #C7336D
split-complementary
#B7C733 #336DC7 #8D33C7
monochromatic
#5D661A #8A9627 #B7C733 #CAD661 #DAE391

Accessibility & contrast

On white

1.87
#B7C733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#B7C733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C733
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C733#FFFFFF#000000##000000
##B7C7331.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD11
Deuteranopia (green-blind)
#D4BF40
Tritanopia (blue-blind)
#C3BBAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b7c733;
/* rgb */ color: rgb(183, 199, 51);
/* oklch */ color: oklch(79.2% 0.164 115.7);
Tailwind
colors: {
  custom: {
    50: '#d0d776',
    500: '#b7c733',
    950: '#000000',
  },
}
SCSS
$custom: #b7c733;
$custom-light: #d0d776;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c733",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 66.486,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79172,
    "c": 0.16432,
    "h": 115.7
  },
  "luminance": 0.51153
}

Semantic roles & 50–950 ramp

primary
#B7C733
secondary
#352E70
accent
#45E256
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C733

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

Preview Lab → · Contrast checker → · Palette generator →

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