#B7B330#B7B330

#B7B330 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.7% C 0.145 H 107.7°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B7B330
RGBrgb(183, 179, 48)
HSLhsl(58, 58%, 45%)
HSVhsv(58, 74%, 72%)
CMYKcmyk(0%, 2.2%, 73.8%, 28.2%)
CIE-LABlab(71.23, -13.61, 62.96)
CIE-LCHlch(71.23, 64.42, 102.20°)
OKLaboklab(74.73% -0.0441 0.1386)
OKLCHoklch(74.73% 0.145 107.7)
XYZxyz(36.1834, 42.5221, 9.0973)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B330 #3034B7
analogous
#B76F30 #B7B330 #78B730
triadic
#B7B330 #30B7B3 #B330B7
tetradic
#B7B330 #30B76F #3034B7 #B73078
square
#B7B330 #30B76F #3034B7 #B73078
split-complementary
#B7B330 #3078B7 #6F30B7
monochromatic
#565417 #878423 #B7B330 #D2CE52 #DEDC83

Accessibility & contrast

On white

2.21
#B7B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B7B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B330
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B330#FFFFFF#000000##000000
##B7B3301.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC15
Deuteranopia (green-blind)
#C4B13A
Tritanopia (blue-blind)
#C4A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b7b330;
/* rgb */ color: rgb(183, 179, 48);
/* oklch */ color: oklch(74.7% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#d0c972',
    500: '#b7b330',
    950: '#000000',
  },
}
SCSS
$custom: #b7b330;
$custom-light: #d0c972;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b330",
  "rgb": {
    "r": 183,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 58.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74731,
    "c": 0.14544,
    "h": 107.7
  },
  "luminance": 0.42521
}

Semantic roles & 50–950 ramp

primary
#B7B330
secondary
#7B7DC8
accent
#4BE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B330

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

Preview Lab → · Contrast checker → · Palette generator →

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