#B5C135#B5C135

#B5C135 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.157 H 114.4°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B5C135
RGBrgb(181, 193, 53)
HSLhsl(65, 57%, 48%)
HSVhsv(65, 73%, 76%)
CMYKcmyk(6.2%, 0%, 72.5%, 24.3%)
CIE-LABlab(74.96, -21.28, 64.74)
CIE-LCHlch(74.96, 68.14, 108.19°)
OKLaboklab(77.69% -0.0649 0.1433)
OKLCHoklch(77.69% 0.157 114.4)
XYZxyz(38.7697, 48.2215, 10.6328)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C135 #4135C1
analogous
#C18735 #B5C135 #6FC135
triadic
#B5C135 #35B5C1 #C135B5
tetradic
#B5C135 #35C187 #4135C1 #C1356F
square
#B5C135 #35C187 #4135C1 #C1356F
split-complementary
#B5C135 #356FC1 #8735C1
monochromatic
#5B611B #889128 #B5C135 #C9D360 #DAE090

Accessibility & contrast

On white

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

On black

10.64
#B5C135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C135
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C135#FFFFFF#000000##000000
##B5C1351.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB719
Deuteranopia (green-blind)
#CEBA40
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c135;
/* rgb */ color: rgb(181, 193, 53);
/* oklch */ color: oklch(77.7% 0.157 114.4);
Tailwind
colors: {
  custom: {
    50: '#cfd376',
    500: '#b5c135',
    950: '#000000',
  },
}
SCSS
$custom: #b5c135;
$custom-light: #cfd376;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c135",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 65.143,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77688,
    "c": 0.15731,
    "h": 114.4
  },
  "luminance": 0.48221
}

Semantic roles & 50–950 ramp

primary
#B5C135
secondary
#8C87CB
accent
#48E055
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C135

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

Preview Lab → · Contrast checker → · Palette generator →

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