#B8B02B#B8B02B

#B8B02B is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.145 H 105.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B8B02B
RGBrgb(184, 176, 43)
HSLhsl(57, 62%, 45%)
HSVhsv(57, 77%, 72%)
CMYKcmyk(0%, 4.3%, 76.6%, 27.8%)
CIE-LABlab(70.47, -11.85, 63.95)
CIE-LCHlch(70.47, 65.04, 100.49°)
OKLaboklab(74.13% -0.0397 0.1397)
OKLCHoklch(74.13% 0.145 105.9)
XYZxyz(35.7301, 41.4168, 8.3972)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B02B #2B33B8
analogous
#B86A2B #B8B02B #79B82B
triadic
#B8B02B #2BB8B0 #B02BB8
tetradic
#B8B02B #2BB86A #2B33B8 #B82B79
square
#B8B02B #2BB86A #2B33B8 #B82B79
split-complementary
#B8B02B #2B79B8 #6A2BB8
monochromatic
#555114 #86811F #B8B02B #D5CD4B #E1DB7D

Accessibility & contrast

On white

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

On black

9.28
#B8B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B02B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B02B#FFFFFF#000000##000000
##B8B02B1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b02b;
/* rgb */ color: rgb(184, 176, 43);
/* oklch */ color: oklch(74.1% 0.145 105.9);
Tailwind
colors: {
  custom: {
    50: '#d1c770',
    500: '#b8b02b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b02b;
$custom-light: #d1c770;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b02b",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 56.596,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.14524,
    "h": 105.9
  },
  "luminance": 0.41415
}

Semantic roles & 50–950 ramp

primary
#B8B02B
secondary
#767BC9
accent
#4CE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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