#B8B03B#B8B03B

#B8B03B is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.2% C 0.135 H 105.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B8B03B
RGBrgb(184, 176, 59)
HSLhsl(56, 51%, 48%)
HSVhsv(56, 68%, 72%)
CMYKcmyk(0%, 4.3%, 67.9%, 27.8%)
CIE-LABlab(70.57, -11.08, 58.25)
CIE-LCHlch(70.57, 59.29, 100.77°)
OKLaboklab(74.24% -0.036 0.1305)
OKLCHoklch(74.24% 0.135 105.4)
XYZxyz(36.0833, 41.5581, 10.2576)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B03B #3B43B8
analogous
#B8713B #B8B03B #81B83B
triadic
#B8B03B #3BB8B0 #B03BB8
tetradic
#B8B03B #3BB871 #3B43B8 #B83B81
square
#B8B03B #3BB871 #3B43B8 #B83B81
split-complementary
#B8B03B #3B81B8 #713BB8
monochromatic
#5B571D #8A842C #B8B03B #CDC663 #DCD792

Accessibility & contrast

On white

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

On black

9.31
#B8B03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B03B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B03B#FFFFFF#000000##000000
##B8B03B1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2A
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C5A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b03b;
/* rgb */ color: rgb(184, 176, 59);
/* oklch */ color: oklch(74.2% 0.135 105.4);
Tailwind
colors: {
  custom: {
    50: '#d1c778',
    500: '#b8b03b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b03b;
$custom-light: #d1c778;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b03b",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 56.16,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74244,
    "c": 0.1354,
    "h": 105.4
  },
  "luminance": 0.41557
}

Semantic roles & 50–950 ramp

primary
#B8B03B
secondary
#888CC7
accent
#56DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B03B

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

Preview Lab → · Contrast checker → · Palette generator →

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