#B7B030#B7B030

#B7B030 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.143 H 106.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B7B030
RGBrgb(183, 176, 48)
HSLhsl(57, 58%, 45%)
HSVhsv(57, 74%, 72%)
CMYKcmyk(0%, 3.8%, 73.8%, 28.2%)
CIE-LABlab(70.41, -12.07, 62.19)
CIE-LCHlch(70.41, 63.35, 100.98°)
OKLaboklab(74.08% -0.0398 0.1369)
OKLCHoklch(74.08% 0.143 106.2)
XYZxyz(35.5887, 41.3327, 8.8991)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B030 #3037B7
analogous
#B76C30 #B7B030 #7AB730
triadic
#B7B030 #30B7B0 #B030B7
tetradic
#B7B030 #30B76C #3037B7 #B7307A
square
#B7B030 #30B76C #3037B7 #B7307A
split-complementary
#B7B030 #307AB7 #6C30B7
monochromatic
#565317 #878123 #B7B030 #D2CB52 #DEDA83

Accessibility & contrast

On white

2.27
#B7B030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B7B030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B030
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B030#FFFFFF#000000##000000
##B7B0301.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA917
Deuteranopia (green-blind)
#C2AF3A
Tritanopia (blue-blind)
#C5A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7b030;
/* rgb */ color: rgb(183, 176, 48);
/* oklch */ color: oklch(74.1% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0c772',
    500: '#b7b030',
    950: '#000000',
  },
}
SCSS
$custom: #b7b030;
$custom-light: #d0c772;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b030",
  "rgb": {
    "r": 183,
    "g": 176,
    "b": 48
  },
  "hsl": {
    "h": 56.889,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74076,
    "c": 0.1426,
    "h": 106.2
  },
  "luminance": 0.41331
}

Semantic roles & 50–950 ramp

primary
#B7B030
secondary
#7B7FC8
accent
#4EE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7B030

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

Preview Lab → · Contrast checker → · Palette generator →

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