#B8B339#B8B339

#B8B339 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.140 H 107.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B8B339
RGBrgb(184, 179, 57)
HSLhsl(58, 53%, 47%)
HSVhsv(58, 69%, 72%)
CMYKcmyk(0%, 2.7%, 69%, 27.8%)
CIE-LABlab(71.37, -12.74, 59.84)
CIE-LCHlch(71.37, 61.18, 102.02°)
OKLaboklab(74.88% -0.0409 0.1336)
OKLCHoklch(74.88% 0.14 107)
XYZxyz(36.6272, 42.7272, 10.1879)
Luminance0.4273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B339 #393EB8
analogous
#B87439 #B8B339 #7DB839
triadic
#B8B339 #39B8B3 #B339B8
tetradic
#B8B339 #39B874 #393EB8 #B8397D
square
#B8B339 #39B874 #393EB8 #B8397D
split-complementary
#B8B339 #397DB8 #7439B8
monochromatic
#5B581C #89862B #B8B339 #CECA60 #DCD98F

Accessibility & contrast

On white

2.20
#B8B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B8B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B339
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B339#FFFFFF#000000##000000
##B8B3391.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC26
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#C5A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b339;
/* rgb */ color: rgb(184, 179, 57);
/* oklch */ color: oklch(74.9% 0.140 107.0);
Tailwind
colors: {
  custom: {
    50: '#d1c977',
    500: '#b8b339',
    950: '#000000',
  },
}
SCSS
$custom: #b8b339;
$custom-light: #d1c977;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b339",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 57.638,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74881,
    "c": 0.13966,
    "h": 107
  },
  "luminance": 0.42726
}

Semantic roles & 50–950 ramp

primary
#B8B339
secondary
#8688C7
accent
#51DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B339

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

Preview Lab → · Contrast checker → · Palette generator →

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