#B5C242#B5C242

#B5C242 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.150 H 114.9°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#B5C242
RGBrgb(181, 194, 66)
HSLhsl(66, 51%, 51%)
HSVhsv(66, 66%, 76%)
CMYKcmyk(6.7%, 0%, 66%, 23.9%)
CIE-LABlab(75.33, -21.06, 60.26)
CIE-LCHlch(75.33, 63.83, 109.26°)
OKLaboklab(78.01% -0.0631 0.136)
OKLCHoklch(78.01% 0.15 114.9)
XYZxyz(39.3322, 48.8013, 12.5008)
Luminance0.4880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C242 #4F42C2
analogous
#C28F42 #B5C242 #75C242
triadic
#B5C242 #42B5C2 #C242B5
tetradic
#B5C242 #42C28F #4F42C2 #C24275
square
#B5C242 #42C28F #4F42C2 #C24275
split-complementary
#B5C242 #4275C2 #8F42C2
monochromatic
#616822 #8C9631 #B5C242 #C7D170 #D9E09F

Accessibility & contrast

On white

1.95
#B5C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#B5C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C242
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C242#FFFFFF#000000##000000
##B5C2421.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB930
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#C0B7A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c242;
/* rgb */ color: rgb(181, 194, 66);
/* oklch */ color: oklch(78.0% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#ced47d',
    500: '#b5c242',
    950: '#000000',
  },
}
SCSS
$custom: #b5c242;
$custom-light: #ced47d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c242",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 66.094,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78006,
    "c": 0.1499,
    "h": 114.9
  },
  "luminance": 0.48801
}

Semantic roles & 50–950 ramp

primary
#B5C242
secondary
#9994CC
accent
#4DDB5C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5C242

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

Preview Lab → · Contrast checker → · Palette generator →

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