#B7C333#B7C333

#B7C333 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.160 H 114.3°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#B7C333
RGBrgb(183, 195, 51)
HSLhsl(65, 59%, 48%)
HSVhsv(65, 74%, 76%)
CMYKcmyk(6.2%, 0%, 73.8%, 23.5%)
CIE-LABlab(75.66, -21.52, 66.13)
CIE-LCHlch(75.66, 69.54, 108.02°)
OKLaboklab(78.28% -0.0659 0.1458)
OKLCHoklch(78.28% 0.16 114.3)
XYZxyz(39.6422, 49.3373, 10.5661)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C333 #3F33C3
analogous
#C38733 #B7C333 #6FC333
triadic
#B7C333 #33B7C3 #C333B7
tetradic
#B7C333 #33C387 #3F33C3 #C3336F
square
#B7C333 #33C387 #3F33C3 #C3336F
split-complementary
#B7C333 #336FC3 #8733C3
monochromatic
#5C621A #899226 #B7C333 #CBD55E #DBE28F

Accessibility & contrast

On white

1.93
#B7C333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#B7C333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C333
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C333#FFFFFF#000000##000000
##B7C3331.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B913
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#C3B7A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c333;
/* rgb */ color: rgb(183, 195, 51);
/* oklch */ color: oklch(78.3% 0.160 114.3);
Tailwind
colors: {
  custom: {
    50: '#d0d575',
    500: '#b7c333',
    950: '#000000',
  },
}
SCSS
$custom: #b7c333;
$custom-light: #d0d575;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c333",
  "rgb": {
    "r": 183,
    "g": 195,
    "b": 51
  },
  "hsl": {
    "h": 65,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7828,
    "c": 0.16002,
    "h": 114.3
  },
  "luminance": 0.49337
}

Semantic roles & 50–950 ramp

primary
#B7C333
secondary
#8B86CC
accent
#46E253
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B7C333

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

Preview Lab → · Contrast checker → · Palette generator →

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