#B1C338#B1C338

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

Color values

HEX#B1C338
RGBrgb(177, 195, 56)
HSLhsl(68, 55%, 49%)
HSVhsv(68, 71%, 76%)
CMYKcmyk(9.2%, 0%, 71.3%, 23.5%)
CIE-LABlab(75.24, -23.78, 63.85)
CIE-LCHlch(75.24, 68.13, 110.42°)
OKLaboklab(77.84% -0.0714 0.142)
OKLCHoklch(77.84% 0.159 116.7)
XYZxyz(38.3613, 48.6633, 11.1127)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C338 #4A38C3
analogous
#C39038 #B1C338 #6CC338
triadic
#B1C338 #38B1C3 #C338B1
tetradic
#B1C338 #38C390 #4A38C3 #C3386C
square
#B1C338 #38C390 #4A38C3 #C3386C
split-complementary
#B1C338 #386CC3 #9038C3
monochromatic
#5B641D #86932A #B1C338 #C5D365 #D7E195

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1C338#FFFFFF#000000##000000
##B1C3381.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)
#D0B91F
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#BCB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b1c338;
/* rgb */ color: rgb(177, 195, 56);
/* oklch */ color: oklch(77.8% 0.159 116.7);
Tailwind
colors: {
  custom: {
    50: '#ccd578',
    500: '#b1c338',
    950: '#000000',
  },
}
SCSS
$custom: #b1c338;
$custom-light: #ccd578;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c338",
  "rgb": {
    "r": 177,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 67.77,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77842,
    "c": 0.15898,
    "h": 116.7
  },
  "luminance": 0.48663
}

Semantic roles & 50–950 ramp

primary
#B1C338
secondary
#938BCC
accent
#49DF5C
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #B1C338

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

Preview Lab → · Contrast checker → · Palette generator →

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