#B7B830#B7B830

#B7B830 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.150 H 109.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B7B830
RGBrgb(183, 184, 48)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0.5%, 0%, 73.9%, 27.8%)
CIE-LABlab(72.60, -16.16, 64.25)
CIE-LCHlch(72.60, 66.25, 104.12°)
OKLaboklab(75.83% -0.0512 0.1413)
OKLCHoklch(75.83% 0.15 109.9)
XYZxyz(37.2038, 44.5627, 9.4374)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B830 #3130B8
analogous
#B87530 #B7B830 #73B830
triadic
#B7B830 #30B7B8 #B830B7
tetradic
#B7B830 #30B875 #3130B8 #B83073
square
#B7B830 #30B875 #3130B8 #B83073
split-complementary
#B7B830 #3073B8 #7530B8
monochromatic
#565717 #878723 #B7B830 #D1D253 #DEDF84

Accessibility & contrast

On white

2.12
#B7B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#B7B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B830
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B830#FFFFFF#000000##000000
##B7B8301.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#C4AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b830;
/* rgb */ color: rgb(183, 184, 48);
/* oklch */ color: oklch(75.8% 0.150 109.9);
Tailwind
colors: {
  custom: {
    50: '#d0cd73',
    500: '#b7b830',
    950: '#000000',
  },
}
SCSS
$custom: #b7b830;
$custom-light: #d0cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b830",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 60.441,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75827,
    "c": 0.15033,
    "h": 109.9
  },
  "luminance": 0.44562
}

Semantic roles & 50–950 ramp

primary
#B7B830
secondary
#7C7CC8
accent
#46E247
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B830

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

Preview Lab → · Contrast checker → · Palette generator →

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