#B8B430#B8B430

#B8B430 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.0% C 0.146 H 107.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B8B430
RGBrgb(184, 180, 48)
HSLhsl(58, 59%, 45%)
HSVhsv(58, 74%, 72%)
CMYKcmyk(0%, 2.2%, 73.9%, 27.8%)
CIE-LABlab(71.59, -13.69, 63.33)
CIE-LCHlch(71.59, 64.79, 102.20°)
OKLaboklab(75.04% -0.0444 0.1393)
OKLCHoklch(75.04% 0.146 107.7)
XYZxyz(36.6234, 43.0475, 9.1756)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B430 #3034B8
analogous
#B87030 #B8B430 #78B830
triadic
#B8B430 #30B8B4 #B430B8
tetradic
#B8B430 #30B870 #3034B8 #B83078
square
#B8B430 #30B870 #3034B8 #B83078
split-complementary
#B8B430 #3078B8 #7030B8
monochromatic
#575517 #878523 #B8B430 #D2CE53 #DFDC84

Accessibility & contrast

On white

2.19
#B8B430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B8B430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B430
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B430#FFFFFF#000000##000000
##B8B4301.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD15
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C5A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b430;
/* rgb */ color: rgb(184, 180, 48);
/* oklch */ color: oklch(75.0% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#d1ca72',
    500: '#b8b430',
    950: '#000000',
  },
}
SCSS
$custom: #b8b430;
$custom-light: #d1ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b430",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 48
  },
  "hsl": {
    "h": 58.235,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75036,
    "c": 0.14623,
    "h": 107.7
  },
  "luminance": 0.43046
}

Semantic roles & 50–950 ramp

primary
#B8B430
secondary
#7C7EC8
accent
#4BE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B430

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

Preview Lab → · Contrast checker → · Palette generator →

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