#B4C139#B4C139

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

Color values

HEX#B4C139
RGBrgb(180, 193, 57)
HSLhsl(66, 54%, 49%)
HSVhsv(66, 70%, 76%)
CMYKcmyk(6.7%, 0%, 70.5%, 24.3%)
CIE-LABlab(74.91, -21.49, 63.24)
CIE-LCHlch(74.91, 66.79, 108.77°)
OKLaboklab(77.64% -0.0651 0.1408)
OKLCHoklch(77.64% 0.155 114.8)
XYZxyz(38.6319, 48.1393, 11.1268)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C139 #4639C1
analogous
#C18A39 #B4C139 #70C139
triadic
#B4C139 #39B4C1 #C139B4
tetradic
#B4C139 #39C18A #4639C1 #C13970
square
#B4C139 #39C18A #4639C1 #C13970
split-complementary
#B4C139 #3970C1 #8A39C1
monochromatic
#5C631D #88922B #B4C139 #C7D266 #D8E095

Accessibility & contrast

On white

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

On black

10.63
#B4C139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C139
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C139#FFFFFF#000000##000000
##B4C1391.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c139;
/* rgb */ color: rgb(180, 193, 57);
/* oklch */ color: oklch(77.6% 0.155 114.8);
Tailwind
colors: {
  custom: {
    50: '#ced378',
    500: '#b4c139',
    950: '#000000',
  },
}
SCSS
$custom: #b4c139;
$custom-light: #ced378;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c139",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 65.735,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77635,
    "c": 0.15517,
    "h": 114.8
  },
  "luminance": 0.48139
}

Semantic roles & 50–950 ramp

primary
#B4C139
secondary
#918BCB
accent
#4ADE58
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C139

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

Preview Lab → · Contrast checker → · Palette generator →

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