#B1C545#B1C545

#B1C545 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.4% C 0.152 H 117.7°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#B1C545
RGBrgb(177, 197, 69)
HSLhsl(69, 52%, 52%)
HSVhsv(69, 65%, 77%)
CMYKcmyk(10.2%, 0%, 65%, 22.7%)
CIE-LABlab(75.89, -23.99, 59.55)
CIE-LCHlch(75.89, 64.20, 111.94°)
OKLaboklab(78.39% -0.0708 0.135)
OKLCHoklch(78.39% 0.152 117.7)
XYZxyz(39.1727, 49.7097, 13.1604)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C545 #5945C5
analogous
#C59945 #B1C545 #71C545
triadic
#B1C545 #45B1C5 #C545B1
tetradic
#B1C545 #45C599 #5945C5 #C54571
square
#B1C545 #45C599 #5945C5 #C54571
split-complementary
#B1C545 #4571C5 #9945C5
monochromatic
#626D22 #8B9C31 #B1C545 #C5D474 #D8E2A2

Accessibility & contrast

On white

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

On black

10.94
#B1C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C545
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C545#FFFFFF#000000##000000
##B1C5451.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#BBBBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b1c545;
/* rgb */ color: rgb(177, 197, 69);
/* oklch */ color: oklch(78.4% 0.152 117.7);
Tailwind
colors: {
  custom: {
    50: '#cbd67f',
    500: '#b1c545',
    950: '#000000',
  },
}
SCSS
$custom: #b1c545;
$custom-light: #cbd67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c545",
  "rgb": {
    "r": 177,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 69.375,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78392,
    "c": 0.15243,
    "h": 117.7
  },
  "luminance": 0.49709
}

Semantic roles & 50–950 ramp

primary
#B1C545
secondary
#A097CF
accent
#4CDC62
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140A
muted
#82837C

Preview Lab

Preview with #B1C545

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

Preview Lab → · Contrast checker → · Palette generator →

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