#B7BF34#B7BF34

#B7BF34 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.155 H 112.8°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B7BF34
RGBrgb(183, 191, 52)
HSLhsl(63, 57%, 48%)
HSVhsv(63, 73%, 75%)
CMYKcmyk(4.2%, 0%, 72.8%, 25.1%)
CIE-LABlab(74.56, -19.49, 64.74)
CIE-LCHlch(74.56, 67.61, 106.75°)
OKLaboklab(77.4% -0.0602 0.1431)
OKLCHoklch(77.4% 0.155 112.8)
XYZxyz(38.7803, 47.5777, 10.3887)
Luminance0.4758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BF34 #3C34BF
analogous
#BF8134 #B7BF34 #72BF34
triadic
#B7BF34 #34B7BF #BF34B7
tetradic
#B7BF34 #34BF81 #3C34BF #BF3472
square
#B7BF34 #34BF81 #3C34BF #BF3472
split-complementary
#B7BF34 #3472BF #8134BF
monochromatic
#5B5F1A #898F27 #B7BF34 #CCD35D #DBE08D

Accessibility & contrast

On white

2.00
#B7BF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#B7BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BF34
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BF34#FFFFFF#000000##000000
##B7BF341.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB618
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#C3B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b7bf34;
/* rgb */ color: rgb(183, 191, 52);
/* oklch */ color: oklch(77.4% 0.155 112.8);
Tailwind
colors: {
  custom: {
    50: '#d0d275',
    500: '#b7bf34',
    950: '#000000',
  },
}
SCSS
$custom: #b7bf34;
$custom-light: #d0d275;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bf34",
  "rgb": {
    "r": 183,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 63.453,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77398,
    "c": 0.15521,
    "h": 112.8
  },
  "luminance": 0.47577
}

Semantic roles & 50–950 ramp

primary
#B7BF34
secondary
#8884CA
accent
#47E050
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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