#B5C12C#B5C12C

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

Color values

HEX#B5C12C
RGBrgb(181, 193, 44)
HSLhsl(65, 63%, 46%)
HSVhsv(65, 77%, 76%)
CMYKcmyk(6.2%, 0%, 77.2%, 24.3%)
CIE-LABlab(74.92, -21.67, 67.60)
CIE-LCHlch(74.92, 70.99, 107.77°)
OKLaboklab(77.64% -0.0668 0.1478)
OKLCHoklch(77.64% 0.162 114.3)
XYZxyz(38.5818, 48.1463, 9.6431)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C12C #382CC1
analogous
#C1832C #B5C12C #6BC12C
triadic
#B5C12C #2CB5C1 #C12CB5
tetradic
#B5C12C #2CC183 #382CC1 #C12C6B
square
#B5C12C #2CC183 #382CC1 #C12C6B
split-complementary
#B5C12C #2C6BC1 #832CC1
monochromatic
#585D15 #868F21 #B5C12C #CDD853 #DBE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C12C#FFFFFF#000000##000000
##B5C12C1.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)
#CFB700
Deuteranopia (green-blind)
#CFBA3A
Tritanopia (blue-blind)
#C1B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c12c;
/* rgb */ color: rgb(181, 193, 44);
/* oklch */ color: oklch(77.6% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#cfd372',
    500: '#b5c12c',
    950: '#000000',
  },
}
SCSS
$custom: #b5c12c;
$custom-light: #cfd372;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c12c",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 64.832,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77635,
    "c": 0.16219,
    "h": 114.3
  },
  "luminance": 0.48146
}

Semantic roles & 50–950 ramp

primary
#B5C12C
secondary
#837DCC
accent
#42E64F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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