#B4B034#B4B034

#B4B034 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.141 H 107.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B4B034
RGBrgb(180, 176, 52)
HSLhsl(58, 55%, 45%)
HSVhsv(58, 71%, 71%)
CMYKcmyk(0%, 2.2%, 71.1%, 29.4%)
CIE-LABlab(70.18, -13.18, 60.44)
CIE-LCHlch(70.18, 61.86, 102.30°)
OKLaboklab(73.84% -0.0424 0.1341)
OKLCHoklch(73.84% 0.141 107.5)
XYZxyz(34.9689, 41.0031, 9.3205)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B034 #3438B4
analogous
#B47034 #B4B034 #78B434
triadic
#B4B034 #34B4B0 #B034B4
tetradic
#B4B034 #34B470 #3438B4 #B43478
square
#B4B034 #34B470 #3438B4 #B43478
split-complementary
#B4B034 #3478B4 #7034B4
monochromatic
#555319 #858226 #B4B034 #CECB57 #DCD986

Accessibility & contrast

On white

2.28
#B4B034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B4B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B034
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B034#FFFFFF#000000##000000
##B4B0341.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91F
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#C1A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b034;
/* rgb */ color: rgb(180, 176, 52);
/* oklch */ color: oklch(73.8% 0.141 107.5);
Tailwind
colors: {
  custom: {
    50: '#cec774',
    500: '#b4b034',
    950: '#000000',
  },
}
SCSS
$custom: #b4b034;
$custom-light: #cec774;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b034",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 58.125,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73839,
    "c": 0.14061,
    "h": 107.5
  },
  "luminance": 0.41002
}

Semantic roles & 50–950 ramp

primary
#B4B034
secondary
#7E80C6
accent
#4EDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B034

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

Preview Lab → · Contrast checker → · Palette generator →

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