#B4C131#B4C131

#B4C131 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.6% C 0.160 H 114.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#B4C131
RGBrgb(180, 193, 49)
HSLhsl(65, 60%, 47%)
HSVhsv(65, 75%, 76%)
CMYKcmyk(6.7%, 0%, 74.6%, 24.3%)
CIE-LABlab(74.87, -21.88, 65.96)
CIE-LCHlch(74.87, 69.49, 108.35°)
OKLaboklab(77.58% -0.0669 0.1452)
OKLCHoklch(77.58% 0.16 114.7)
XYZxyz(38.4478, 48.0657, 10.1574)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C131 #3E31C1
analogous
#C18631 #B4C131 #6CC131
triadic
#B4C131 #31B4C1 #C131B4
tetradic
#B4C131 #31C186 #3E31C1 #C1316C
square
#B4C131 #31C186 #3E31C1 #C1316C
split-complementary
#B4C131 #316CC1 #8631C1
monochromatic
#595F18 #869025 #B4C131 #CAD55A #DAE28B

Accessibility & contrast

On white

1.98
#B4C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#B4C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C131
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C131#FFFFFF#000000##000000
##B4C1311.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#C0B6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c131;
/* rgb */ color: rgb(180, 193, 49);
/* oklch */ color: oklch(77.6% 0.160 114.7);
Tailwind
colors: {
  custom: {
    50: '#ced374',
    500: '#b4c131',
    950: '#000000',
  },
}
SCSS
$custom: #b4c131;
$custom-light: #ced374;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c131",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 65.417,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77583,
    "c": 0.15989,
    "h": 114.7
  },
  "luminance": 0.48065
}

Semantic roles & 50–950 ramp

primary
#B4C131
secondary
#8982CC
accent
#45E353
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C131

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

Preview Lab → · Contrast checker → · Palette generator →

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