#B5C138#B5C138

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

Color values

HEX#B5C138
RGBrgb(181, 193, 56)
HSLhsl(65, 55%, 49%)
HSVhsv(65, 71%, 76%)
CMYKcmyk(6.2%, 0%, 71%, 24.3%)
CIE-LABlab(74.98, -21.13, 63.70)
CIE-LCHlch(74.98, 67.11, 108.35°)
OKLaboklab(77.71% -0.0643 0.1416)
OKLCHoklch(77.71% 0.156 114.4)
XYZxyz(38.8409, 48.2499, 11.0077)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C138 #4438C1
analogous
#C18938 #B5C138 #71C138
triadic
#B5C138 #38B5C1 #C138B5
tetradic
#B5C138 #38C189 #4438C1 #C13871
square
#B5C138 #38C189 #4438C1 #C13871
split-complementary
#B5C138 #3871C1 #8938C1
monochromatic
#5C621C #89922A #B5C138 #C8D264 #D9E094

Accessibility & contrast

On white

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

On black

10.65
#B5C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C138
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C138#FFFFFF#000000##000000
##B5C1381.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB720
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c138;
/* rgb */ color: rgb(181, 193, 56);
/* oklch */ color: oklch(77.7% 0.155 114.4);
Tailwind
colors: {
  custom: {
    50: '#cfd378',
    500: '#b5c138',
    950: '#000000',
  },
}
SCSS
$custom: #b5c138;
$custom-light: #cfd378;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c138",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 65.255,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77708,
    "c": 0.1555,
    "h": 114.4
  },
  "luminance": 0.48249
}

Semantic roles & 50–950 ramp

primary
#B5C138
secondary
#908ACB
accent
#49DE56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C138

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

Preview Lab → · Contrast checker → · Palette generator →

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