#B1C52F#B1C52F

#B1C52F is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.2% C 0.166 H 117.2°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#B1C52F
RGBrgb(177, 197, 47)
HSLhsl(68, 61%, 48%)
HSVhsv(68, 76%, 77%)
CMYKcmyk(10.2%, 0%, 76.1%, 22.7%)
CIE-LABlab(75.75, -25.18, 67.34)
CIE-LCHlch(75.75, 71.89, 110.50°)
OKLaboklab(78.24% -0.076 0.1479)
OKLCHoklch(78.24% 0.166 117.2)
XYZxyz(38.6118, 49.4853, 10.2063)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C52F #432FC5
analogous
#C58E2F #B1C52F #66C52F
triadic
#B1C52F #2FB1C5 #C52FB1
tetradic
#B1C52F #2FC58E #432FC5 #C52F66
square
#B1C52F #2FC58E #432FC5 #C52F66
split-complementary
#B1C52F #2F66C5 #8E2FC5
monochromatic
#586217 #859423 #B1C52F #C7D85A #D8E38B

Accessibility & contrast

On white

1.93
#B1C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#B1C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C52F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C52F#FFFFFF#000000##000000
##B1C52F1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA04
Deuteranopia (green-blind)
#D1BC3D
Tritanopia (blue-blind)
#BCBAA9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b1c52f;
/* rgb */ color: rgb(177, 197, 47);
/* oklch */ color: oklch(78.2% 0.166 117.2);
Tailwind
colors: {
  custom: {
    50: '#ccd674',
    500: '#b1c52f',
    950: '#000000',
  },
}
SCSS
$custom: #b1c52f;
$custom-light: #ccd674;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c52f",
  "rgb": {
    "r": 177,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 68,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78236,
    "c": 0.16629,
    "h": 117.2
  },
  "luminance": 0.49485
}

Semantic roles & 50–950 ramp

primary
#B1C52F
secondary
#8C82CD
accent
#43E559
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B1C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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