#B5C235#B5C235

#B5C235 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.158 H 114.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B5C235
RGBrgb(181, 194, 53)
HSLhsl(66, 57%, 48%)
HSVhsv(66, 73%, 76%)
CMYKcmyk(6.7%, 0%, 72.7%, 23.9%)
CIE-LABlab(75.24, -21.77, 65.00)
CIE-LCHlch(75.24, 68.55, 108.51°)
OKLaboklab(77.91% -0.0663 0.1439)
OKLCHoklch(77.91% 0.158 114.8)
XYZxyz(38.9915, 48.6651, 10.7067)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C235 #4235C2
analogous
#C28835 #B5C235 #6EC235
triadic
#B5C235 #35B5C2 #C235B5
tetradic
#B5C235 #35C288 #4235C2 #C2356E
square
#B5C235 #35C288 #4235C2 #C2356E
split-complementary
#B5C235 #356EC2 #8835C2
monochromatic
#5B621B #889228 #B5C235 #C9D460 #D9E191

Accessibility & contrast

On white

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

On black

10.73
#B5C235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C235
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C235#FFFFFF#000000##000000
##B5C2351.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5c235;
/* rgb */ color: rgb(181, 194, 53);
/* oklch */ color: oklch(77.9% 0.158 114.8);
Tailwind
colors: {
  custom: {
    50: '#cfd476',
    500: '#b5c235',
    950: '#000000',
  },
}
SCSS
$custom: #b5c235;
$custom-light: #cfd476;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c235",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 53
  },
  "hsl": {
    "h": 65.532,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77911,
    "c": 0.1584,
    "h": 114.8
  },
  "luminance": 0.48664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5C235

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

Preview Lab → · Contrast checker → · Palette generator →

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