#B1C240#B1C240

#B1C240 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.153 H 116.5°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#B1C240
RGBrgb(177, 194, 64)
HSLhsl(68, 52%, 51%)
HSVhsv(68, 67%, 76%)
CMYKcmyk(8.8%, 0%, 67%, 23.9%)
CIE-LABlab(75.01, -22.84, 60.63)
CIE-LCHlch(75.01, 64.79, 110.64°)
OKLaboklab(77.68% -0.068 0.1366)
OKLCHoklch(77.68% 0.153 116.5)
XYZxyz(38.3495, 48.3013, 12.1524)
Luminance0.4830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C240 #5140C2
analogous
#C29240 #B1C240 #70C240
triadic
#B1C240 #40B1C2 #C240B1
tetradic
#B1C240 #40C292 #5140C2 #C24070
square
#B1C240 #40C292 #5140C2 #C24070
split-complementary
#B1C240 #4070C2 #9240C2
monochromatic
#5E6721 #889530 #B1C240 #C4D16E #D7E09D

Accessibility & contrast

On white

1.97
#B1C240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#B1C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C240
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C240#FFFFFF#000000##000000
##B1C2401.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#BCB7A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b1c240;
/* rgb */ color: rgb(177, 194, 64);
/* oklch */ color: oklch(77.7% 0.153 116.5);
Tailwind
colors: {
  custom: {
    50: '#cbd47c',
    500: '#b1c240',
    950: '#000000',
  },
}
SCSS
$custom: #b1c240;
$custom-light: #cbd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c240",
  "rgb": {
    "r": 177,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 67.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77676,
    "c": 0.15256,
    "h": 116.5
  },
  "luminance": 0.48301
}

Semantic roles & 50–950 ramp

primary
#B1C240
secondary
#9A92CC
accent
#4DDB5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B1C240

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

Preview Lab → · Contrast checker → · Palette generator →

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