#B5C12E#B5C12E

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

Color values

HEX#B5C12E
RGBrgb(181, 193, 46)
HSLhsl(65, 62%, 47%)
HSVhsv(65, 76%, 76%)
CMYKcmyk(6.2%, 0%, 76.2%, 24.3%)
CIE-LABlab(74.93, -21.59, 67.00)
CIE-LCHlch(74.93, 70.39, 107.86°)
OKLaboklab(77.65% -0.0664 0.1469)
OKLCHoklch(77.65% 0.161 114.3)
XYZxyz(38.6203, 48.1617, 9.8459)
Luminance0.4816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C12E #3A2EC1
analogous
#C1842E #B5C12E #6CC12E
triadic
#B5C12E #2EB5C1 #C12EB5
tetradic
#B5C12E #2EC184 #3A2EC1 #C12E6C
square
#B5C12E #2EC184 #3A2EC1 #C12E6C
split-complementary
#B5C12E #2E6CC1 #842EC1
monochromatic
#585E16 #879022 #B5C12E #CCD756 #DBE287

Accessibility & contrast

On white

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

On black

10.63
#B5C12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C12E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C12E#FFFFFF#000000##000000
##B5C12E1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB704
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#C1B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c12e;
/* rgb */ color: rgb(181, 193, 46);
/* oklch */ color: oklch(77.6% 0.161 114.3);
Tailwind
colors: {
  custom: {
    50: '#cfd373',
    500: '#b5c12e',
    950: '#000000',
  },
}
SCSS
$custom: #b5c12e;
$custom-light: #cfd373;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c12e",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 64.898,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77646,
    "c": 0.16118,
    "h": 114.3
  },
  "luminance": 0.48161
}

Semantic roles & 50–950 ramp

primary
#B5C12E
secondary
#857FCC
accent
#43E550
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C12E

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

Preview Lab → · Contrast checker → · Palette generator →

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