#B5C134#B5C134

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

Color values

HEX#B5C134
RGBrgb(181, 193, 52)
HSLhsl(65, 58%, 48%)
HSVhsv(65, 73%, 76%)
CMYKcmyk(6.2%, 0%, 73.1%, 24.3%)
CIE-LABlab(74.96, -21.32, 65.07)
CIE-LCHlch(74.96, 68.48, 108.14°)
OKLaboklab(77.68% -0.0652 0.1438)
OKLCHoklch(77.68% 0.158 114.4)
XYZxyz(38.7470, 48.2124, 10.5129)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C134 #4034C1
analogous
#C18634 #B5C134 #6FC134
triadic
#B5C134 #34B5C1 #C134B5
tetradic
#B5C134 #34C186 #4034C1 #C1346F
square
#B5C134 #34C186 #4034C1 #C1346F
split-complementary
#B5C134 #346FC1 #8634C1
monochromatic
#5B611A #889127 #B5C134 #CAD45E #DAE18F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C134#FFFFFF#000000##000000
##B5C1341.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)
#CFB717
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c134;
/* rgb */ color: rgb(181, 193, 52);
/* oklch */ color: oklch(77.7% 0.158 114.4);
Tailwind
colors: {
  custom: {
    50: '#cfd376',
    500: '#b5c134',
    950: '#000000',
  },
}
SCSS
$custom: #b5c134;
$custom-light: #cfd376;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c134",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 52
  },
  "hsl": {
    "h": 65.106,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77682,
    "c": 0.1579,
    "h": 114.4
  },
  "luminance": 0.48212
}

Semantic roles & 50–950 ramp

primary
#B5C134
secondary
#8B86CB
accent
#47E154
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C134

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

Preview Lab → · Contrast checker → · Palette generator →

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