#B7B934#B7B934

#B7B934 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.149 H 110.3°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B7B934
RGBrgb(183, 185, 52)
HSLhsl(61, 56%, 46%)
HSVhsv(61, 72%, 73%)
CMYKcmyk(1.1%, 0%, 71.9%, 27.5%)
CIE-LABlab(72.90, -16.48, 63.16)
CIE-LCHlch(72.90, 65.27, 104.62°)
OKLaboklab(76.07% -0.0518 0.1397)
OKLCHoklch(76.07% 0.149 110.3)
XYZxyz(37.4985, 45.0142, 9.9614)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B934 #3634B9
analogous
#B97934 #B7B934 #75B934
triadic
#B7B934 #34B7B9 #B934B7
tetradic
#B7B934 #34B979 #3634B9 #B93475
square
#B7B934 #34B979 #3634B9 #B93475
split-complementary
#B7B934 #3475B9 #7934B9
monochromatic
#585919 #888927 #B7B934 #CFD15A #DDDE89

Accessibility & contrast

On white

2.10
#B7B934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#B7B934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B934
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B934#FFFFFF#000000##000000
##B7B9341.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11B
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#C4AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7b934;
/* rgb */ color: rgb(183, 185, 52);
/* oklch */ color: oklch(76.1% 0.149 110.3);
Tailwind
colors: {
  custom: {
    50: '#d0cd75',
    500: '#b7b934',
    950: '#000000',
  },
}
SCSS
$custom: #b7b934;
$custom-light: #d0cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b934",
  "rgb": {
    "r": 183,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 60.902,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76073,
    "c": 0.14901,
    "h": 110.3
  },
  "luminance": 0.45013
}

Semantic roles & 50–950 ramp

primary
#B7B934
secondary
#8281C8
accent
#48DF4B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B934

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

Preview Lab → · Contrast checker → · Palette generator →

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