#B1C045#B1C045

#B1C045 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.147 H 115.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#B1C045
RGBrgb(177, 192, 69)
HSLhsl(67, 49%, 51%)
HSVhsv(67, 64%, 75%)
CMYKcmyk(7.8%, 0%, 64.1%, 24.7%)
CIE-LABlab(74.49, -21.54, 58.08)
CIE-LCHlch(74.49, 61.94, 110.34°)
OKLaboklab(77.27% -0.0639 0.1319)
OKLCHoklch(77.27% 0.147 115.8)
XYZxyz(38.0561, 47.4766, 12.7882)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C045 #5445C0
analogous
#C09145 #B1C045 #73C045
triadic
#B1C045 #45B1C0 #C045B1
tetradic
#B1C045 #45C091 #5445C0 #C04573
square
#B1C045 #45C091 #5445C0 #C04573
split-complementary
#B1C045 #4573C0 #9145C0
monochromatic
#5F6823 #899533 #B1C045 #C4CF73 #D7DFA0

Accessibility & contrast

On white

2.00
#B1C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#B1C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C045
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C045#FFFFFF#000000##000000
##B1C0451.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#BCB6A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b1c045;
/* rgb */ color: rgb(177, 192, 69);
/* oklch */ color: oklch(77.3% 0.147 115.8);
Tailwind
colors: {
  custom: {
    50: '#cbd27f',
    500: '#b1c045',
    950: '#000000',
  },
}
SCSS
$custom: #b1c045;
$custom-light: #cbd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c045",
  "rgb": {
    "r": 177,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 67.317,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7727,
    "c": 0.14659,
    "h": 115.8
  },
  "luminance": 0.47476
}

Semantic roles & 50–950 ramp

primary
#B1C045
secondary
#9C95CC
accent
#4FD960
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C

Preview Lab

Preview with #B1C045

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

Preview Lab → · Contrast checker → · Palette generator →

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