#B5C52F#B5C52F

#B5C52F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.5% C 0.165 H 115.7°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#B5C52F
RGBrgb(181, 197, 47)
HSLhsl(66, 61%, 48%)
HSVhsv(66, 76%, 77%)
CMYKcmyk(8.1%, 0%, 76.1%, 22.7%)
CIE-LABlab(76.05, -23.51, 67.72)
CIE-LCHlch(76.05, 71.68, 109.14°)
OKLaboklab(78.55% -0.0716 0.1486)
OKLCHoklch(78.55% 0.165 115.7)
XYZxyz(39.5365, 49.9621, 10.2497)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C52F #3F2FC5
analogous
#C58A2F #B5C52F #6AC52F
triadic
#B5C52F #2FB5C5 #C52FB5
tetradic
#B5C52F #2FC58A #3F2FC5 #C52F6A
square
#B5C52F #2FC58A #3F2FC5 #C52F6A
split-complementary
#B5C52F #2F6AC5 #8A2FC5
monochromatic
#5A6217 #889423 #B5C52F #CAD85A #DAE38B

Accessibility & contrast

On white

1.91
#B5C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#B5C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C52F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C52F#FFFFFF#000000##000000
##B5C52F1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB04
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#C1B9A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b5c52f;
/* rgb */ color: rgb(181, 197, 47);
/* oklch */ color: oklch(78.5% 0.165 115.7);
Tailwind
colors: {
  custom: {
    50: '#cfd674',
    500: '#b5c52f',
    950: '#000000',
  },
}
SCSS
$custom: #b5c52f;
$custom-light: #cfd674;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c52f",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 66.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78546,
    "c": 0.16493,
    "h": 115.7
  },
  "luminance": 0.49961
}

Semantic roles & 50–950 ramp

primary
#B5C52F
secondary
#8A82CD
accent
#43E554
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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