#B1C142#B1C142

#B1C142 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.150 H 116.2°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B1C142
RGBrgb(177, 193, 66)
HSLhsl(68, 51%, 51%)
HSVhsv(68, 66%, 76%)
CMYKcmyk(8.3%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.75, -22.22, 59.56)
CIE-LCHlch(74.75, 63.57, 110.46°)
OKLaboklab(77.47% -0.0661 0.1346)
OKLCHoklch(77.47% 0.15 116.2)
XYZxyz(38.1857, 47.8809, 12.3835)
Luminance0.4788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C142 #5242C1
analogous
#C19142 #B1C142 #71C142
triadic
#B1C142 #42B1C1 #C142B1
tetradic
#B1C142 #42C191 #5242C1 #C14271
square
#B1C142 #42C191 #5242C1 #C14271
split-complementary
#B1C142 #4271C1 #9142C1
monochromatic
#5E6722 #889531 #B1C142 #C4D070 #D7DF9E

Accessibility & contrast

On white

1.99
#B1C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B1C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C142
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C142#FFFFFF#000000##000000
##B1C1421.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#BCB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b1c142;
/* rgb */ color: rgb(177, 193, 66);
/* oklch */ color: oklch(77.5% 0.150 116.2);
Tailwind
colors: {
  custom: {
    50: '#cbd37d',
    500: '#b1c142',
    950: '#000000',
  },
}
SCSS
$custom: #b1c142;
$custom-light: #cbd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c142",
  "rgb": {
    "r": 177,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 67.559,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77469,
    "c": 0.14998,
    "h": 116.2
  },
  "luminance": 0.4788
}

Semantic roles & 50–950 ramp

primary
#B1C142
secondary
#9A93CC
accent
#4EDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B1C142

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

Preview Lab → · Contrast checker → · Palette generator →

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