#B5C124#B5C124

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

Color values

HEX#B5C124
RGBrgb(181, 193, 36)
HSLhsl(65, 69%, 45%)
HSVhsv(65, 81%, 76%)
CMYKcmyk(6.2%, 0%, 81.3%, 24.3%)
CIE-LABlab(74.88, -21.96, 69.81)
CIE-LCHlch(74.88, 73.18, 107.46°)
OKLaboklab(77.6% -0.0682 0.1511)
OKLCHoklch(77.6% 0.166 114.3)
XYZxyz(38.4457, 48.0918, 8.9261)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C124 #3024C1
analogous
#C17F24 #B5C124 #67C124
triadic
#B5C124 #24B5C1 #C124B5
tetradic
#B5C124 #24C17F #3024C1 #C12467
square
#B5C124 #24C17F #3024C1 #C12467
split-complementary
#B5C124 #2467C1 #7F24C1
monochromatic
#545A11 #858D1A #B5C124 #D1DC46 #DEE679

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C124#FFFFFF#000000##000000
##B5C1241.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)
#CFBA34
Tritanopia (blue-blind)
#C1B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c124;
/* rgb */ color: rgb(181, 193, 36);
/* oklch */ color: oklch(77.6% 0.166 114.3);
Tailwind
colors: {
  custom: {
    50: '#cfd36f',
    500: '#b5c124',
    950: '#000000',
  },
}
SCSS
$custom: #b5c124;
$custom-light: #cfd36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c124",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 36
  },
  "hsl": {
    "h": 64.586,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.77597,
    "c": 0.16579,
    "h": 114.3
  },
  "luminance": 0.48091
}

Semantic roles & 50–950 ramp

primary
#B5C124
secondary
#7A73CE
accent
#3CEB4A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5C124

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

Preview Lab → · Contrast checker → · Palette generator →

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