#B4B734#B4B734

#B4B734 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.148 H 110.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B4B734
RGBrgb(180, 183, 52)
HSLhsl(61, 56%, 46%)
HSVhsv(61, 72%, 72%)
CMYKcmyk(1.6%, 0%, 71.6%, 28.2%)
CIE-LABlab(72.11, -16.75, 62.31)
CIE-LCHlch(72.11, 64.52, 105.05°)
OKLaboklab(75.38% -0.0524 0.138)
OKLCHoklch(75.38% 0.148 110.8)
XYZxyz(36.3769, 43.8192, 9.7899)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B734 #3734B7
analogous
#B77834 #B4B734 #72B734
triadic
#B4B734 #34B4B7 #B734B4
tetradic
#B4B734 #34B778 #3734B7 #B73472
square
#B4B734 #34B778 #3734B7 #B73472
split-complementary
#B4B734 #3472B7 #7834B7
monochromatic
#565819 #858726 #B4B734 #CDD059 #DBDD88

Accessibility & contrast

On white

2.15
#B4B734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B4B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B734
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B734#FFFFFF#000000##000000
##B4B7341.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1C
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b734;
/* rgb */ color: rgb(180, 183, 52);
/* oklch */ color: oklch(75.4% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc75',
    500: '#b4b734',
    950: '#000000',
  },
}
SCSS
$custom: #b4b734;
$custom-light: #cecc75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b734",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 61.374,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75379,
    "c": 0.14763,
    "h": 110.8
  },
  "luminance": 0.43818
}

Semantic roles & 50–950 ramp

primary
#B4B734
secondary
#8180C7
accent
#49DF4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B734

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

Preview Lab → · Contrast checker → · Palette generator →

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