#B7B930#B7B930

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

Color values

HEX#B7B930
RGBrgb(183, 185, 48)
HSLhsl(61, 59%, 46%)
HSVhsv(61, 74%, 73%)
CMYKcmyk(1.1%, 0%, 74.1%, 27.5%)
CIE-LABlab(72.88, -16.66, 64.51)
CIE-LCHlch(72.88, 66.63, 104.48°)
OKLaboklab(76.05% -0.0527 0.1419)
OKLCHoklch(76.05% 0.151 110.4)
XYZxyz(37.4122, 44.9797, 9.5069)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B930 #3230B9
analogous
#B97630 #B7B930 #72B930
triadic
#B7B930 #30B7B9 #B930B7
tetradic
#B7B930 #30B976 #3230B9 #B93072
square
#B7B930 #30B976 #3230B9 #B93072
split-complementary
#B7B930 #3072B9 #7630B9
monochromatic
#575817 #878823 #B7B930 #D1D354 #DEDF84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B930#FFFFFF#000000##000000
##B7B9301.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)
#C8B112
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#C4AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7b930;
/* rgb */ color: rgb(183, 185, 48);
/* oklch */ color: oklch(76.0% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#d0cd73',
    500: '#b7b930',
    950: '#000000',
  },
}
SCSS
$custom: #b7b930;
$custom-light: #d0cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b930",
  "rgb": {
    "r": 183,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 60.876,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76048,
    "c": 0.15132,
    "h": 110.4
  },
  "luminance": 0.44979
}

Semantic roles & 50–950 ramp

primary
#B7B930
secondary
#7D7CC9
accent
#46E248
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B930

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

Preview Lab → · Contrast checker → · Palette generator →

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