#B8B830#B8B830

#B8B830 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.150 H 109.5°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B8B830
RGBrgb(184, 184, 48)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 72%)
CMYKcmyk(0%, 0%, 73.9%, 27.8%)
CIE-LABlab(72.68, -15.73, 64.36)
CIE-LCHlch(72.68, 66.25, 103.73°)
OKLaboklab(75.91% -0.0501 0.1415)
OKLCHoklch(75.91% 0.15 109.5)
XYZxyz(37.4425, 44.6859, 9.4486)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B830 #3030B8
analogous
#B87430 #B8B830 #74B830
triadic
#B8B830 #30B8B8 #B830B8
tetradic
#B8B830 #30B874 #3030B8 #B83074
square
#B8B830 #30B874 #3030B8 #B83074
split-complementary
#B8B830 #3074B8 #7430B8
monochromatic
#575717 #878723 #B8B830 #D2D253 #DFDF84

Accessibility & contrast

On white

2.11
#B8B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#B8B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B830
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B830#FFFFFF#000000##000000
##B8B8301.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b830;
/* rgb */ color: rgb(184, 184, 48);
/* oklch */ color: oklch(75.9% 0.150 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cd73',
    500: '#b8b830',
    950: '#000000',
  },
}
SCSS
$custom: #b8b830;
$custom-light: #d1cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b830",
  "rgb": {
    "r": 184,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75912,
    "c": 0.15011,
    "h": 109.5
  },
  "luminance": 0.44685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8B830

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

Preview Lab → · Contrast checker → · Palette generator →

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