#B8B335#B8B335

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

Color values

HEX#B8B335
RGBrgb(184, 179, 53)
HSLhsl(58, 55%, 46%)
HSVhsv(58, 71%, 72%)
CMYKcmyk(0%, 2.7%, 71.2%, 27.8%)
CIE-LABlab(71.34, -12.95, 61.32)
CIE-LCHlch(71.34, 62.67, 101.92°)
OKLaboklab(74.85% -0.0418 0.136)
OKLCHoklch(74.85% 0.142 107.1)
XYZxyz(36.5313, 42.6888, 9.6829)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B335 #353AB8
analogous
#B87235 #B8B335 #7CB835
triadic
#B8B335 #35B8B3 #B335B8
tetradic
#B8B335 #35B872 #353AB8 #B8357C
square
#B8B335 #35B872 #353AB8 #B8357C
split-complementary
#B8B335 #357CB8 #7235B8
monochromatic
#59571A #888527 #B8B335 #D0CB5B #DDDA8A

Accessibility & contrast

On white

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

On black

9.54
#B8B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B335
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B335#FFFFFF#000000##000000
##B8B3351.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1F
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b335;
/* rgb */ color: rgb(184, 179, 53);
/* oklch */ color: oklch(74.9% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1c975',
    500: '#b8b335',
    950: '#000000',
  },
}
SCSS
$custom: #b8b335;
$custom-light: #d1c975;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b335",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 57.71,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74851,
    "c": 0.14227,
    "h": 107.1
  },
  "luminance": 0.42688
}

Semantic roles & 50–950 ramp

primary
#B8B335
secondary
#8184C7
accent
#4FDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B335

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

Preview Lab → · Contrast checker → · Palette generator →

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