#B7C933#B7C933

#B7C933 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.166 H 116.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#B7C933
RGBrgb(183, 201, 51)
HSLhsl(67, 60%, 49%)
HSVhsv(67, 75%, 79%)
CMYKcmyk(9%, 0%, 74.6%, 21.2%)
CIE-LABlab(77.33, -24.45, 67.70)
CIE-LCHlch(77.33, 71.98, 109.85°)
OKLaboklab(79.62% -0.074 0.1491)
OKLCHoklch(79.62% 0.166 116.4)
XYZxyz(41.0137, 52.0802, 11.0232)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C933 #4533C9
analogous
#C99033 #B7C933 #6CC933
triadic
#B7C933 #33B7C9 #C933B7
tetradic
#B7C933 #33C990 #4533C9 #C9336C
square
#B7C933 #33C990 #4533C9 #C9336C
split-complementary
#B7C933 #336CC9 #9033C9
monochromatic
#5E671A #8B9827 #B7C933 #C9D762 #DAE493

Accessibility & contrast

On white

1.84
#B7C933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#B7C933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C933
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C933#FFFFFF#000000##000000
##B7C9331.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE0F
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#C3BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c933;
/* rgb */ color: rgb(183, 201, 51);
/* oklch */ color: oklch(79.6% 0.166 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d976',
    500: '#b7c933',
    950: '#000000',
  },
}
SCSS
$custom: #b7c933;
$custom-light: #d0d976;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c933",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 67.2,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79619,
    "c": 0.16649,
    "h": 116.4
  },
  "luminance": 0.5208
}

Semantic roles & 50–950 ramp

primary
#B7C933
secondary
#372F71
accent
#45E358
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C933

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

Preview Lab → · Contrast checker → · Palette generator →

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