#B1C334#B1C334

#B1C334 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.161 H 116.6°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B1C334
RGBrgb(177, 195, 52)
HSLhsl(68, 58%, 48%)
HSVhsv(68, 73%, 76%)
CMYKcmyk(9.2%, 0%, 73.3%, 23.5%)
CIE-LABlab(75.22, -23.98, 65.22)
CIE-LCHlch(75.22, 69.48, 110.19°)
OKLaboklab(77.82% -0.0723 0.1443)
OKLCHoklch(77.82% 0.161 116.6)
XYZxyz(38.2674, 48.6258, 10.6180)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C334 #4634C3
analogous
#C38D34 #B1C334 #6AC334
triadic
#B1C334 #34B1C3 #C334B1
tetradic
#B1C334 #34C38D #4634C3 #C3346A
square
#B1C334 #34C38D #4634C3 #C3346A
split-complementary
#B1C334 #346AC3 #8D34C3
monochromatic
#59621A #859327 #B1C334 #C6D560 #D7E190

Accessibility & contrast

On white

1.96
#B1C334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B1C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C334
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C334#FFFFFF#000000##000000
##B1C3341.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B916
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#BCB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b1c334;
/* rgb */ color: rgb(177, 195, 52);
/* oklch */ color: oklch(77.8% 0.161 116.6);
Tailwind
colors: {
  custom: {
    50: '#ccd576',
    500: '#b1c334',
    950: '#000000',
  },
}
SCSS
$custom: #b1c334;
$custom-light: #ccd576;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c334",
  "rgb": {
    "r": 177,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 67.552,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77815,
    "c": 0.16136,
    "h": 116.6
  },
  "luminance": 0.48625
}

Semantic roles & 50–950 ramp

primary
#B1C334
secondary
#8F87CC
accent
#47E15A
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #B1C334

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

Preview Lab → · Contrast checker → · Palette generator →

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