#B4C235#B4C235

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

Color values

HEX#B4C235
RGBrgb(180, 194, 53)
HSLhsl(66, 57%, 48%)
HSVhsv(66, 73%, 76%)
CMYKcmyk(7.2%, 0%, 72.7%, 23.9%)
CIE-LABlab(75.17, -22.19, 64.90)
CIE-LCHlch(75.17, 68.59, 108.87°)
OKLaboklab(77.83% -0.0674 0.1437)
OKLCHoklch(77.83% 0.159 115.1)
XYZxyz(38.7578, 48.5446, 10.6958)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C235 #4335C2
analogous
#C28935 #B4C235 #6EC235
triadic
#B4C235 #35B4C2 #C235B4
tetradic
#B4C235 #35C289 #4335C2 #C2356E
square
#B4C235 #35C289 #4335C2 #C2356E
split-complementary
#B4C235 #356EC2 #8935C2
monochromatic
#5B621B #879228 #B4C235 #C8D460 #D9E191

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C235#FFFFFF#000000##000000
##B4C2351.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)
#D0B819
Deuteranopia (green-blind)
#CFBA41
Tritanopia (blue-blind)
#C0B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c235;
/* rgb */ color: rgb(180, 194, 53);
/* oklch */ color: oklch(77.8% 0.159 115.1);
Tailwind
colors: {
  custom: {
    50: '#ced476',
    500: '#b4c235',
    950: '#000000',
  },
}
SCSS
$custom: #b4c235;
$custom-light: #ced476;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c235",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 53
  },
  "hsl": {
    "h": 65.957,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77832,
    "c": 0.1587,
    "h": 115.1
  },
  "luminance": 0.48544
}

Semantic roles & 50–950 ramp

primary
#B4C235
secondary
#8E87CC
accent
#47E057
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C235

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

Preview Lab → · Contrast checker → · Palette generator →

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