#B1C031#B1C031

#B1C031 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.1% C 0.160 H 115.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B1C031
RGBrgb(177, 192, 49)
HSLhsl(66, 59%, 47%)
HSVhsv(66, 74%, 75%)
CMYKcmyk(7.8%, 0%, 74.5%, 24.7%)
CIE-LABlab(74.36, -22.65, 65.41)
CIE-LCHlch(74.36, 69.22, 109.10°)
OKLaboklab(77.12% -0.0689 0.1441)
OKLCHoklch(77.12% 0.16 115.5)
XYZxyz(37.5365, 47.2687, 10.0515)
Luminance0.4727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C031 #4031C0
analogous
#C08831 #B1C031 #69C031
triadic
#B1C031 #31B1C0 #C031B1
tetradic
#B1C031 #31C088 #4031C0 #C03169
square
#B1C031 #31C088 #4031C0 #C03169
split-complementary
#B1C031 #3169C0 #8831C0
monochromatic
#575E18 #848F25 #B1C031 #C8D559 #D8E18A

Accessibility & contrast

On white

2.01
#B1C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B1C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C031
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C031#FFFFFF#000000##000000
##B1C0311.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB610
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#BDB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b1c031;
/* rgb */ color: rgb(177, 192, 49);
/* oklch */ color: oklch(77.1% 0.160 115.5);
Tailwind
colors: {
  custom: {
    50: '#ccd274',
    500: '#b1c031',
    950: '#000000',
  },
}
SCSS
$custom: #b1c031;
$custom-light: #ccd274;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c031",
  "rgb": {
    "r": 177,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 66.294,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77122,
    "c": 0.15976,
    "h": 115.5
  },
  "luminance": 0.47268
}

Semantic roles & 50–950 ramp

primary
#B1C031
secondary
#8982CB
accent
#45E356
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1C031

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

Preview Lab → · Contrast checker → · Palette generator →

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