#B1C231#B1C231

#B1C231 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.6% C 0.162 H 116.2°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#B1C231
RGBrgb(177, 194, 49)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 76%)
CMYKcmyk(8.8%, 0%, 74.7%, 23.9%)
CIE-LABlab(74.92, -23.63, 65.93)
CIE-LCHlch(74.92, 70.04, 109.72°)
OKLaboklab(77.57% -0.0716 0.1453)
OKLCHoklch(77.57% 0.162 116.2)
XYZxyz(37.9786, 48.1530, 10.1989)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C231 #4231C2
analogous
#C28A31 #B1C231 #69C231
triadic
#B1C231 #31B1C2 #C231B1
tetradic
#B1C231 #31C28A #4231C2 #C23169
square
#B1C231 #31C28A #4231C2 #C23169
split-complementary
#B1C231 #3169C2 #8A31C2
monochromatic
#586018 #849125 #B1C231 #C7D65B #D8E28C

Accessibility & contrast

On white

1.98
#B1C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#B1C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C231
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C231#FFFFFF#000000##000000
##B1C2311.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B80F
Deuteranopia (green-blind)
#CEB93E
Tritanopia (blue-blind)
#BCB7A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b1c231;
/* rgb */ color: rgb(177, 194, 49);
/* oklch */ color: oklch(77.6% 0.162 116.2);
Tailwind
colors: {
  custom: {
    50: '#ccd474',
    500: '#b1c231',
    950: '#000000',
  },
}
SCSS
$custom: #b1c231;
$custom-light: #ccd474;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c231",
  "rgb": {
    "r": 177,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 67.034,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77572,
    "c": 0.16194,
    "h": 116.2
  },
  "luminance": 0.48152
}

Semantic roles & 50–950 ramp

primary
#B1C231
secondary
#8B83CC
accent
#45E357
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B1C231

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

Preview Lab → · Contrast checker → · Palette generator →

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