#B8B135#B8B135

#B8B135 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.140 H 106.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B8B135
RGBrgb(184, 177, 53)
HSLhsl(57, 55%, 46%)
HSVhsv(57, 71%, 72%)
CMYKcmyk(0%, 3.8%, 71.2%, 27.8%)
CIE-LABlab(70.80, -11.92, 60.79)
CIE-LCHlch(70.80, 61.95, 101.09°)
OKLaboklab(74.42% -0.0389 0.1349)
OKLCHoklch(74.42% 0.14 106.1)
XYZxyz(36.1333, 41.8930, 9.5503)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B135 #353CB8
analogous
#B87035 #B8B135 #7EB835
triadic
#B8B135 #35B8B1 #B135B8
tetradic
#B8B135 #35B870 #353CB8 #B8357E
square
#B8B135 #35B870 #353CB8 #B8357E
split-complementary
#B8B135 #357EB8 #7035B8
monochromatic
#59561A #888327 #B8B135 #D0C95B #DDD98A

Accessibility & contrast

On white

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

On black

9.38
#B8B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B135
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B135#FFFFFF#000000##000000
##B8B1351.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA20
Deuteranopia (green-blind)
#C3B03E
Tritanopia (blue-blind)
#C6A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b8b135;
/* rgb */ color: rgb(184, 177, 53);
/* oklch */ color: oklch(74.4% 0.140 106.1);
Tailwind
colors: {
  custom: {
    50: '#d1c875',
    500: '#b8b135',
    950: '#000000',
  },
}
SCSS
$custom: #b8b135;
$custom-light: #d1c875;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b135",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 56.794,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74416,
    "c": 0.14036,
    "h": 106.1
  },
  "luminance": 0.41892
}

Semantic roles & 50–950 ramp

primary
#B8B135
secondary
#8185C7
accent
#51DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B135

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

Preview Lab → · Contrast checker → · Palette generator →

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