#B5C122#B5C122

#B5C122 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.6% C 0.167 H 114.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#B5C122
RGBrgb(181, 193, 34)
HSLhsl(65, 70%, 45%)
HSVhsv(65, 82%, 76%)
CMYKcmyk(6.2%, 0%, 82.4%, 24.3%)
CIE-LABlab(74.88, -22.02, 70.31)
CIE-LCHlch(74.88, 73.68, 107.39°)
OKLaboklab(77.59% -0.0685 0.1519)
OKLCHoklch(77.59% 0.167 114.3)
XYZxyz(38.4160, 48.0800, 8.7697)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C122 #2E22C1
analogous
#C17D22 #B5C122 #66C122
triadic
#B5C122 #22B5C1 #C122B5
tetradic
#B5C122 #22C17D #2E22C1 #C12266
square
#B5C122 #22C17D #2E22C1 #C12266
split-complementary
#B5C122 #2266C1 #7D22C1
monochromatic
#535910 #848D19 #B5C122 #D2DE42 #DEE776

Accessibility & contrast

On white

1.98
#B5C122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#B5C122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C122
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C122#FFFFFF#000000##000000
##B5C1221.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CFBA33
Tritanopia (blue-blind)
#C1B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c122;
/* rgb */ color: rgb(181, 193, 34);
/* oklch */ color: oklch(77.6% 0.167 114.3);
Tailwind
colors: {
  custom: {
    50: '#cfd36e',
    500: '#b5c122',
    950: '#000000',
  },
}
SCSS
$custom: #b5c122;
$custom-light: #cfd36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c122",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 34
  },
  "hsl": {
    "h": 64.528,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77588,
    "c": 0.16659,
    "h": 114.3
  },
  "luminance": 0.48079
}

Semantic roles & 50–950 ramp

primary
#B5C122
secondary
#7871CE
accent
#3BED48
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5C122

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

Preview Lab → · Contrast checker → · Palette generator →

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