#B7C534#B7C534

#B7C534 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.162 H 115.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#B7C534
RGBrgb(183, 197, 52)
HSLhsl(66, 58%, 49%)
HSVhsv(66, 74%, 77%)
CMYKcmyk(7.1%, 0%, 73.6%, 22.7%)
CIE-LABlab(76.22, -22.45, 66.33)
CIE-LCHlch(76.22, 70.02, 108.70°)
OKLaboklab(78.73% -0.0684 0.1464)
OKLCHoklch(78.73% 0.162 115)
XYZxyz(40.1156, 50.2484, 10.8338)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C534 #4234C5
analogous
#C58B34 #B7C534 #6FC534
triadic
#B7C534 #34B7C5 #C534B7
tetradic
#B7C534 #34C58B #4234C5 #C5346F
square
#B7C534 #34C58B #4234C5 #C5346F
split-complementary
#B7C534 #346FC5 #8B34C5
monochromatic
#5D641A #8A9527 #B7C534 #CAD561 #DAE291

Accessibility & contrast

On white

1.90
#B7C534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#B7C534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C534
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C534#FFFFFF#000000##000000
##B7C5341.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB15
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b7c534;
/* rgb */ color: rgb(183, 197, 52);
/* oklch */ color: oklch(78.7% 0.162 115.0);
Tailwind
colors: {
  custom: {
    50: '#d0d676',
    500: '#b7c534',
    950: '#000000',
  },
}
SCSS
$custom: #b7c534;
$custom-light: #d0d676;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c534",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 65.793,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78732,
    "c": 0.1616,
    "h": 115
  },
  "luminance": 0.50248
}

Semantic roles & 50–950 ramp

primary
#B7C534
secondary
#352F6F
accent
#46E155
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C534

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

Preview Lab → · Contrast checker → · Palette generator →

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