#B4B235#B4B235

#B4B235 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.142 H 108.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B4B235
RGBrgb(180, 178, 53)
HSLhsl(59, 55%, 46%)
HSVhsv(59, 71%, 71%)
CMYKcmyk(0%, 1.1%, 70.6%, 29.4%)
CIE-LABlab(70.73, -14.16, 60.61)
CIE-LCHlch(70.73, 62.24, 103.15°)
OKLaboklab(74.29% -0.045 0.1346)
OKLCHoklch(74.29% 0.142 108.5)
XYZxyz(35.3867, 41.8022, 9.5721)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B235 #3537B4
analogous
#B47235 #B4B235 #76B435
triadic
#B4B235 #35B4B2 #B235B4
tetradic
#B4B235 #35B472 #3537B4 #B43576
square
#B4B235 #35B472 #3537B4 #B43576
split-complementary
#B4B235 #3576B4 #7235B4
monochromatic
#555419 #858327 #B4B235 #CECC58 #DCDB88

Accessibility & contrast

On white

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

On black

9.36
#B4B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B235
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B235#FFFFFF#000000##000000
##B4B2351.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB20
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b235;
/* rgb */ color: rgb(180, 178, 53);
/* oklch */ color: oklch(74.3% 0.142 108.5);
Tailwind
colors: {
  custom: {
    50: '#cec875',
    500: '#b4b235',
    950: '#000000',
  },
}
SCSS
$custom: #b4b235;
$custom-light: #cec875;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b235",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 59.055,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74285,
    "c": 0.14195,
    "h": 108.5
  },
  "luminance": 0.41801
}

Semantic roles & 50–950 ramp

primary
#B4B235
secondary
#7F80C6
accent
#4CDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B235

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

Preview Lab → · Contrast checker → · Palette generator →

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