#B4C237#B4C237

#B4C237 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#B4C237
RGBrgb(180, 194, 55)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 72%, 76%)
CMYKcmyk(7.2%, 0%, 71.6%, 23.9%)
CIE-LABlab(75.18, -22.09, 64.22)
CIE-LCHlch(75.18, 67.91, 108.98°)
OKLaboklab(77.85% -0.067 0.1426)
OKLCHoklch(77.85% 0.158 115.2)
XYZxyz(38.8048, 48.5634, 10.9432)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C237 #4537C2
analogous
#C28B37 #B4C237 #6FC237
triadic
#B4C237 #37B4C2 #C237B4
tetradic
#B4C237 #37C28B #4537C2 #C2376F
square
#B4C237 #37C28B #4537C2 #C2376F
split-complementary
#B4C237 #376FC2 #8B37C2
monochromatic
#5C631C #889229 #B4C237 #C8D363 #D9E093

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C237#FFFFFF#000000##000000
##B4C2371.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)
#D0B81D
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#C0B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c237;
/* rgb */ color: rgb(180, 194, 55);
/* oklch */ color: oklch(77.8% 0.158 115.2);
Tailwind
colors: {
  custom: {
    50: '#ced477',
    500: '#b4c237',
    950: '#000000',
  },
}
SCSS
$custom: #b4c237;
$custom-light: #ced477;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c237",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 66.043,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77845,
    "c": 0.15751,
    "h": 115.2
  },
  "luminance": 0.48563
}

Semantic roles & 50–950 ramp

primary
#B4C237
secondary
#9089CB
accent
#49DF58
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C237

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

Preview Lab → · Contrast checker → · Palette generator →

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