#B5C925#B5C925

#B5C925 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.4% C 0.174 H 116.9°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#B5C925
RGBrgb(181, 201, 37)
HSLhsl(67, 69%, 47%)
HSVhsv(67, 82%, 79%)
CMYKcmyk(10%, 0%, 81.6%, 21.2%)
CIE-LABlab(77.12, -25.82, 71.49)
CIE-LCHlch(77.12, 76.01, 109.86°)
OKLaboklab(79.4% -0.0787 0.1549)
OKLCHoklch(79.4% 0.174 116.9)
XYZxyz(40.2777, 51.7311, 9.6132)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C925 #3925C9
analogous
#C98B25 #B5C925 #63C925
triadic
#B5C925 #25B5C9 #C925B5
tetradic
#B5C925 #25C98B #3925C9 #C92563
square
#B5C925 #25C98B #3925C9 #C92563
split-complementary
#B5C925 #2563C9 #8B25C9
monochromatic
#586212 #86951B #B5C925 #CDDE4D #DBE881

Accessibility & contrast

On white

1.85
#B5C925 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#B5C925 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C925
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C925#FFFFFF#000000##000000
##B5C9251.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D5BF36
Tritanopia (blue-blind)
#C1BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c925;
/* rgb */ color: rgb(181, 201, 37);
/* oklch */ color: oklch(79.4% 0.174 116.9);
Tailwind
colors: {
  custom: {
    50: '#cfd970',
    500: '#b5c925',
    950: '#000000',
  },
}
SCSS
$custom: #b5c925;
$custom-light: #cfd970;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c925",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 37
  },
  "hsl": {
    "h": 67.317,
    "s": 68.908,
    "l": 46.667
  },
  "oklch": {
    "l": 0.79395,
    "c": 0.17377,
    "h": 116.9
  },
  "luminance": 0.51731
}

Semantic roles & 50–950 ramp

primary
#B5C925
secondary
#2E266C
accent
#3CEC51
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B5C925

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

Preview Lab → · Contrast checker → · Palette generator →

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