#B8B13A#B8B13A

#B8B13A is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.5% C 0.137 H 106.0°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B8B13A
RGBrgb(184, 177, 58)
HSLhsl(57, 52%, 47%)
HSVhsv(57, 68%, 72%)
CMYKcmyk(0%, 3.8%, 68.5%, 27.8%)
CIE-LABlab(70.83, -11.66, 58.91)
CIE-LCHlch(70.83, 60.05, 101.19°)
OKLaboklab(74.45% -0.0377 0.1318)
OKLCHoklch(74.45% 0.137 106)
XYZxyz(36.2544, 41.9414, 10.1879)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B13A #3A41B8
analogous
#B8723A #B8B13A #80B83A
triadic
#B8B13A #3AB8B1 #B13AB8
tetradic
#B8B13A #3AB872 #3A41B8 #B83A80
square
#B8B13A #3AB872 #3A41B8 #B83A80
split-complementary
#B8B13A #3A80B8 #723AB8
monochromatic
#5B571D #89842B #B8B13A #CDC762 #DCD890

Accessibility & contrast

On white

2.24
#B8B13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B8B13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B13A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B13A#FFFFFF#000000##000000
##B8B13A1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB28
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#C5A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b13a;
/* rgb */ color: rgb(184, 177, 58);
/* oklch */ color: oklch(74.5% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#d1c877',
    500: '#b8b13a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b13a;
$custom-light: #d1c877;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b13a",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 56.667,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74453,
    "c": 0.13705,
    "h": 106
  },
  "luminance": 0.4194
}

Semantic roles & 50–950 ramp

primary
#B8B13A
secondary
#878AC7
accent
#54DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B13A

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

Preview Lab → · Contrast checker → · Palette generator →

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