#B1C140#B1C140

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

Color values

HEX#B1C140
RGBrgb(177, 193, 64)
HSLhsl(67, 51%, 50%)
HSVhsv(67, 67%, 76%)
CMYKcmyk(8.3%, 0%, 66.8%, 24.3%)
CIE-LABlab(74.74, -22.34, 60.34)
CIE-LCHlch(74.74, 64.35, 110.32°)
OKLaboklab(77.45% -0.0667 0.1359)
OKLCHoklch(77.45% 0.151 116.1)
XYZxyz(38.1277, 47.8577, 12.0784)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C140 #5040C1
analogous
#C19040 #B1C140 #70C140
triadic
#B1C140 #40B1C1 #C140B1
tetradic
#B1C140 #40C190 #5040C1 #C14070
square
#B1C140 #40C190 #5040C1 #C14070
split-complementary
#B1C140 #4070C1 #9040C1
monochromatic
#5D6621 #879430 #B1C140 #C4D06E #D7DF9C

Accessibility & contrast

On white

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

On black

10.57
#B1C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C140
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C140#FFFFFF#000000##000000
##B1C1401.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1c140;
/* rgb */ color: rgb(177, 193, 64);
/* oklch */ color: oklch(77.5% 0.151 116.1);
Tailwind
colors: {
  custom: {
    50: '#cbd37c',
    500: '#b1c140',
    950: '#000000',
  },
}
SCSS
$custom: #b1c140;
$custom-light: #cbd37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c140",
  "rgb": {
    "r": 177,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 67.442,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77452,
    "c": 0.15141,
    "h": 116.1
  },
  "luminance": 0.47857
}

Semantic roles & 50–950 ramp

primary
#B1C140
secondary
#9992CB
accent
#4DDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B1C140

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

Preview Lab → · Contrast checker → · Palette generator →

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