#B4B140#B4B140

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

Color values

HEX#B4B140
RGBrgb(180, 177, 64)
HSLhsl(58, 48%, 48%)
HSVhsv(58, 64%, 71%)
CMYKcmyk(0%, 1.7%, 64.4%, 29.4%)
CIE-LABlab(70.54, -13.03, 56.07)
CIE-LCHlch(70.54, 57.56, 103.08°)
OKLaboklab(74.15% -0.0407 0.1269)
OKLCHoklch(74.15% 0.133 107.8)
XYZxyz(35.4711, 41.5188, 10.9949)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B140 #4043B4
analogous
#B47740 #B4B140 #7DB440
triadic
#B4B140 #40B4B1 #B140B4
tetradic
#B4B140 #40B477 #4043B4 #B4407D
square
#B4B140 #40B477 #4043B4 #B4407D
split-complementary
#B4B140 #407DB4 #7740B4
monochromatic
#5A5820 #878530 #B4B140 #C9C768 #D9D895

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B140#FFFFFF#000000##000000
##B4B1401.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)
#BFAA31
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#C0A69A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b4b140;
/* rgb */ color: rgb(180, 177, 64);
/* oklch */ color: oklch(74.2% 0.133 107.8);
Tailwind
colors: {
  custom: {
    50: '#cdc87b',
    500: '#b4b140',
    950: '#000000',
  },
}
SCSS
$custom: #b4b140;
$custom-light: #cdc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b140",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 58.448,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74153,
    "c": 0.13323,
    "h": 107.8
  },
  "luminance": 0.41518
}

Semantic roles & 50–950 ramp

primary
#B4B140
secondary
#8B8CC5
accent
#54D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B140

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

Preview Lab → · Contrast checker → · Palette generator →

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