#B4C236#B4C236

#B4C236 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.158 H 115.2°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#B4C236
RGBrgb(180, 194, 54)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 72%, 76%)
CMYKcmyk(7.2%, 0%, 72.2%, 23.9%)
CIE-LABlab(75.17, -22.14, 64.56)
CIE-LCHlch(75.17, 68.25, 108.93°)
OKLaboklab(77.84% -0.0672 0.1431)
OKLCHoklch(77.84% 0.158 115.2)
XYZxyz(38.7811, 48.5539, 10.8182)
Luminance0.4855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C236 #4436C2
analogous
#C28A36 #B4C236 #6EC236
triadic
#B4C236 #36B4C2 #C236B4
tetradic
#B4C236 #36C28A #4436C2 #C2366E
square
#B4C236 #36C28A #4436C2 #C2366E
split-complementary
#B4C236 #366EC2 #8A36C2
monochromatic
#5B621B #889229 #B4C236 #C8D362 #D9E192

Accessibility & contrast

On white

1.96
#B4C236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#B4C236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C236
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C236#FFFFFF#000000##000000
##B4C2361.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81B
Deuteranopia (green-blind)
#CFBA41
Tritanopia (blue-blind)
#C0B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c236;
/* rgb */ color: rgb(180, 194, 54);
/* oklch */ color: oklch(77.8% 0.158 115.2);
Tailwind
colors: {
  custom: {
    50: '#ced477',
    500: '#b4c236',
    950: '#000000',
  },
}
SCSS
$custom: #b4c236;
$custom-light: #ced477;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c236",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 66,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77838,
    "c": 0.15811,
    "h": 115.2
  },
  "luminance": 0.48553
}

Semantic roles & 50–950 ramp

primary
#B4C236
secondary
#8F88CC
accent
#48E057
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C236

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

Preview Lab → · Contrast checker → · Palette generator →

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