#B5C142#B5C142

#B5C142 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.149 H 114.5°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#B5C142
RGBrgb(181, 193, 66)
HSLhsl(66, 51%, 51%)
HSVhsv(66, 66%, 76%)
CMYKcmyk(6.2%, 0%, 65.8%, 24.3%)
CIE-LABlab(75.05, -20.56, 59.97)
CIE-LCHlch(75.05, 63.40, 108.92°)
OKLaboklab(77.78% -0.0617 0.1354)
OKLCHoklch(77.78% 0.149 114.5)
XYZxyz(39.1104, 48.3577, 12.4269)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C142 #4E42C1
analogous
#C18D42 #B5C142 #75C142
triadic
#B5C142 #42B5C1 #C142B5
tetradic
#B5C142 #42C18D #4E42C1 #C14275
square
#B5C142 #42C18D #4E42C1 #C14275
split-complementary
#B5C142 #4275C1 #8D42C1
monochromatic
#606722 #8B9531 #B5C142 #C7D070 #D9DF9E

Accessibility & contrast

On white

1.97
#B5C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#B5C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C142
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C142#FFFFFF#000000##000000
##B5C1421.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB830
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#C0B6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c142;
/* rgb */ color: rgb(181, 193, 66);
/* oklch */ color: oklch(77.8% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#ced37d',
    500: '#b5c142',
    950: '#000000',
  },
}
SCSS
$custom: #b5c142;
$custom-light: #ced37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c142",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 65.669,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77784,
    "c": 0.14877,
    "h": 114.5
  },
  "luminance": 0.48357
}

Semantic roles & 50–950 ramp

primary
#B5C142
secondary
#9993CC
accent
#4EDA5B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5C142

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

Preview Lab → · Contrast checker → · Palette generator →

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