#B4B237#B4B237

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

Color values

HEX#B4B237
RGBrgb(180, 178, 55)
HSLhsl(59, 53%, 46%)
HSVhsv(59, 69%, 71%)
CMYKcmyk(0%, 1.1%, 69.4%, 29.4%)
CIE-LABlab(70.75, -14.05, 59.88)
CIE-LCHlch(70.75, 61.50, 103.21°)
OKLaboklab(74.3% -0.0445 0.1334)
OKLCHoklch(74.3% 0.141 108.5)
XYZxyz(35.4336, 41.8210, 9.8194)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B237 #3739B4
analogous
#B47337 #B4B237 #77B437
triadic
#B4B237 #37B4B2 #B237B4
tetradic
#B4B237 #37B473 #3739B4 #B43777
square
#B4B237 #37B473 #3739B4 #B43777
split-complementary
#B4B237 #3777B4 #7337B4
monochromatic
#56551A #858429 #B4B237 #CDCB5B #DBDA8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B237#FFFFFF#000000##000000
##B4B2371.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)
#C1AB23
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#C1A79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b4b237;
/* rgb */ color: rgb(180, 178, 55);
/* oklch */ color: oklch(74.3% 0.141 108.5);
Tailwind
colors: {
  custom: {
    50: '#cec876',
    500: '#b4b237',
    950: '#000000',
  },
}
SCSS
$custom: #b4b237;
$custom-light: #cec876;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b237",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 59.04,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74299,
    "c": 0.14065,
    "h": 108.5
  },
  "luminance": 0.4182
}

Semantic roles & 50–950 ramp

primary
#B4B237
secondary
#8182C6
accent
#4EDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B237

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

Preview Lab → · Contrast checker → · Palette generator →

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