#B8B034#B8B034

#B8B034 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.140 H 105.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B8B034
RGBrgb(184, 176, 52)
HSLhsl(56, 56%, 46%)
HSVhsv(56, 72%, 72%)
CMYKcmyk(0%, 4.3%, 71.7%, 27.8%)
CIE-LABlab(70.52, -11.45, 60.89)
CIE-LCHlch(70.52, 61.95, 100.65°)
OKLaboklab(74.19% -0.0377 0.1349)
OKLCHoklch(74.19% 0.14 105.6)
XYZxyz(35.9138, 41.4903, 9.3648)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B034 #343CB8
analogous
#B86E34 #B8B034 #7EB834
triadic
#B8B034 #34B8B0 #B034B8
tetradic
#B8B034 #34B86E #343CB8 #B8347E
square
#B8B034 #34B86E #343CB8 #B8347E
split-complementary
#B8B034 #347EB8 #6E34B8
monochromatic
#595519 #888227 #B8B034 #D0C959 #DED889

Accessibility & contrast

On white

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

On black

9.30
#B8B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B034
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B034#FFFFFF#000000##000000
##B8B0341.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA1F
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#C6A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8b034;
/* rgb */ color: rgb(184, 176, 52);
/* oklch */ color: oklch(74.2% 0.140 105.6);
Tailwind
colors: {
  custom: {
    50: '#d1c774',
    500: '#b8b034',
    950: '#000000',
  },
}
SCSS
$custom: #b8b034;
$custom-light: #d1c774;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b034",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 56.364,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.14006,
    "h": 105.6
  },
  "luminance": 0.41489
}

Semantic roles & 50–950 ramp

primary
#B8B034
secondary
#8085C8
accent
#52DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B034

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

Preview Lab → · Contrast checker → · Palette generator →

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