#B1C138#B1C138

#B1C138 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.157 H 116.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B1C138
RGBrgb(177, 193, 56)
HSLhsl(67, 55%, 49%)
HSVhsv(67, 71%, 76%)
CMYKcmyk(8.3%, 0%, 71%, 24.3%)
CIE-LABlab(74.68, -22.80, 63.30)
CIE-LCHlch(74.68, 67.28, 109.81°)
OKLaboklab(77.39% -0.0687 0.1409)
OKLCHoklch(77.39% 0.157 116)
XYZxyz(37.9162, 47.7731, 10.9644)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C138 #4838C1
analogous
#C18D38 #B1C138 #6DC138
triadic
#B1C138 #38B1C1 #C138B1
tetradic
#B1C138 #38C18D #4838C1 #C1386D
square
#B1C138 #38C18D #4838C1 #C1386D
split-complementary
#B1C138 #386DC1 #8D38C1
monochromatic
#5A621C #85922A #B1C138 #C5D264 #D7E094

Accessibility & contrast

On white

1.99
#B1C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B1C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C138
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C138#FFFFFF#000000##000000
##B1C1381.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#CDB943
Tritanopia (blue-blind)
#BCB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b1c138;
/* rgb */ color: rgb(177, 193, 56);
/* oklch */ color: oklch(77.4% 0.157 116.0);
Tailwind
colors: {
  custom: {
    50: '#ccd378',
    500: '#b1c138',
    950: '#000000',
  },
}
SCSS
$custom: #b1c138;
$custom-light: #ccd378;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c138",
  "rgb": {
    "r": 177,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 67.007,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77392,
    "c": 0.15674,
    "h": 116
  },
  "luminance": 0.47773
}

Semantic roles & 50–950 ramp

primary
#B1C138
secondary
#918ACB
accent
#49DE5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B

Preview Lab

Preview with #B1C138

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

Preview Lab → · Contrast checker → · Palette generator →

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