#B1C12F#B1C12F

#B1C12F is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.162 H 115.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B1C12F
RGBrgb(177, 193, 47)
HSLhsl(67, 61%, 47%)
HSVhsv(67, 76%, 76%)
CMYKcmyk(8.3%, 0%, 75.6%, 24.3%)
CIE-LABlab(74.63, -23.23, 66.30)
CIE-LCHlch(74.63, 70.25, 109.31°)
OKLaboklab(77.33% -0.0707 0.1457)
OKLCHoklch(77.33% 0.162 115.9)
XYZxyz(37.7155, 47.6929, 9.9076)
Luminance0.4769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C12F #3F2FC1
analogous
#C1882F #B1C12F #68C12F
triadic
#B1C12F #2FB1C1 #C12FB1
tetradic
#B1C12F #2FC188 #3F2FC1 #C12F68
square
#B1C12F #2FC188 #3F2FC1 #C12F68
split-complementary
#B1C12F #2F68C1 #882FC1
monochromatic
#575F17 #849023 #B1C12F #C8D657 #D8E288

Accessibility & contrast

On white

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

On black

10.54
#B1C12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C12F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C12F#FFFFFF#000000##000000
##B1C12F1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB708
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#BDB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b1c12f;
/* rgb */ color: rgb(177, 193, 47);
/* oklch */ color: oklch(77.3% 0.162 115.9);
Tailwind
colors: {
  custom: {
    50: '#ccd373',
    500: '#b1c12f',
    950: '#000000',
  },
}
SCSS
$custom: #b1c12f;
$custom-light: #ccd373;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c12f",
  "rgb": {
    "r": 177,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 66.575,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77335,
    "c": 0.16192,
    "h": 115.9
  },
  "luminance": 0.47692
}

Semantic roles & 50–950 ramp

primary
#B1C12F
secondary
#8880CC
accent
#44E455
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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