#B1C538#B1C538

#B1C538 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.3% C 0.161 H 117.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#B1C538
RGBrgb(177, 197, 56)
HSLhsl(69, 56%, 50%)
HSVhsv(69, 72%, 77%)
CMYKcmyk(10.2%, 0%, 71.6%, 22.7%)
CIE-LABlab(75.80, -24.75, 64.39)
CIE-LCHlch(75.80, 68.99, 111.02°)
OKLaboklab(78.29% -0.0741 0.1432)
OKLCHoklch(78.29% 0.161 117.4)
XYZxyz(38.8124, 49.5656, 11.2631)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C538 #4C38C5
analogous
#C59338 #B1C538 #6AC538
triadic
#B1C538 #38B1C5 #C538B1
tetradic
#B1C538 #38C593 #4C38C5 #C5386A
square
#B1C538 #38C593 #4C38C5 #C5386A
split-complementary
#B1C538 #386AC5 #9338C5
monochromatic
#5B661D #86952A #B1C538 #C4D467 #D7E196

Accessibility & contrast

On white

1.92
#B1C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#B1C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C538
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C538#FFFFFF#000000##000000
##B1C5381.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D0BC44
Tritanopia (blue-blind)
#BCBAAA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b1c538;
/* rgb */ color: rgb(177, 197, 56);
/* oklch */ color: oklch(78.3% 0.161 117.4);
Tailwind
colors: {
  custom: {
    50: '#ccd678',
    500: '#b1c538',
    950: '#000000',
  },
}
SCSS
$custom: #b1c538;
$custom-light: #ccd678;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c538",
  "rgb": {
    "r": 177,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 68.511,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78292,
    "c": 0.16123,
    "h": 117.4
  },
  "luminance": 0.49565
}

Semantic roles & 50–950 ramp

primary
#B1C538
secondary
#958CCD
accent
#49DF5E
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #B1C538

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

Preview Lab → · Contrast checker → · Palette generator →

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