#B7C934#B7C934

#B7C934 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#B7C934
RGBrgb(183, 201, 52)
HSLhsl(67, 59%, 50%)
HSVhsv(67, 74%, 79%)
CMYKcmyk(9%, 0%, 74.1%, 21.2%)
CIE-LABlab(77.33, -24.40, 67.38)
CIE-LCHlch(77.33, 71.66, 109.91°)
OKLaboklab(79.63% -0.0738 0.1486)
OKLCHoklch(79.63% 0.166 116.4)
XYZxyz(41.0360, 52.0891, 11.1406)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C934 #4634C9
analogous
#C99034 #B7C934 #6DC934
triadic
#B7C934 #34B7C9 #C934B7
tetradic
#B7C934 #34C990 #4634C9 #C9346D
square
#B7C934 #34C990 #4634C9 #C9346D
split-complementary
#B7C934 #346DC9 #9034C9
monochromatic
#5E681B #8B9827 #B7C934 #C9D763 #DAE394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C934#FFFFFF#000000##000000
##B7C9341.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)
#D7BE12
Deuteranopia (green-blind)
#D5C041
Tritanopia (blue-blind)
#C3BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c934;
/* rgb */ color: rgb(183, 201, 52);
/* oklch */ color: oklch(79.6% 0.166 116.4);
Tailwind
colors: {
  custom: {
    50: '#d0d977',
    500: '#b7c934',
    950: '#000000',
  },
}
SCSS
$custom: #b7c934;
$custom-light: #d0d977;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c934",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 67.248,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79625,
    "c": 0.16595,
    "h": 116.4
  },
  "luminance": 0.52089
}

Semantic roles & 50–950 ramp

primary
#B7C934
secondary
#372F72
accent
#46E259
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C934

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

Preview Lab → · Contrast checker → · Palette generator →

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