#B8B030#B8B030

#B8B030 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.142 H 105.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#B8B030
RGBrgb(184, 176, 48)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 74%, 72%)
CMYKcmyk(0%, 4.3%, 73.9%, 27.8%)
CIE-LABlab(70.49, -11.63, 62.30)
CIE-LCHlch(70.49, 63.37, 100.58°)
OKLaboklab(74.17% -0.0386 0.1371)
OKLCHoklch(74.17% 0.142 105.7)
XYZxyz(35.8275, 41.4558, 8.9103)
Luminance0.4145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B030 #3038B8
analogous
#B86C30 #B8B030 #7CB830
triadic
#B8B030 #30B8B0 #B030B8
tetradic
#B8B030 #30B86C #3038B8 #B8307C
square
#B8B030 #30B86C #3038B8 #B8307C
split-complementary
#B8B030 #307CB8 #6C30B8
monochromatic
#575317 #878223 #B8B030 #D2CB53 #DFD984

Accessibility & contrast

On white

2.26
#B8B030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#B8B030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B030
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B030#FFFFFF#000000##000000
##B8B0301.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b030;
/* rgb */ color: rgb(184, 176, 48);
/* oklch */ color: oklch(74.2% 0.142 105.7);
Tailwind
colors: {
  custom: {
    50: '#d1c772',
    500: '#b8b030',
    950: '#000000',
  },
}
SCSS
$custom: #b8b030;
$custom-light: #d1c772;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b030",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 48
  },
  "hsl": {
    "h": 56.471,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74165,
    "c": 0.14247,
    "h": 105.7
  },
  "luminance": 0.41454
}

Semantic roles & 50–950 ramp

primary
#B8B030
secondary
#7C80C8
accent
#4FE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B030

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

Preview Lab → · Contrast checker → · Palette generator →

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