#B4C138#B4C138

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

Color values

HEX#B4C138
RGBrgb(180, 193, 56)
HSLhsl(66, 55%, 49%)
HSVhsv(66, 71%, 76%)
CMYKcmyk(6.7%, 0%, 71%, 24.3%)
CIE-LABlab(74.91, -21.54, 63.60)
CIE-LCHlch(74.91, 67.15, 108.71°)
OKLaboklab(77.63% -0.0654 0.1414)
OKLCHoklch(77.63% 0.156 114.8)
XYZxyz(38.6072, 48.1294, 10.9967)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C138 #4538C1
analogous
#C18A38 #B4C138 #70C138
triadic
#B4C138 #38B4C1 #C138B4
tetradic
#B4C138 #38C18A #4538C1 #C13870
square
#B4C138 #38C18A #4538C1 #C13870
split-complementary
#B4C138 #3870C1 #8A38C1
monochromatic
#5C621C #88922A #B4C138 #C8D264 #D9E094

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C138#FFFFFF#000000##000000
##B4C1381.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)
#CFB720
Deuteranopia (green-blind)
#CEBA43
Tritanopia (blue-blind)
#C0B6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c138;
/* rgb */ color: rgb(180, 193, 56);
/* oklch */ color: oklch(77.6% 0.156 114.8);
Tailwind
colors: {
  custom: {
    50: '#ced378',
    500: '#b4c138',
    950: '#000000',
  },
}
SCSS
$custom: #b4c138;
$custom-light: #ced378;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c138",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 65.693,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77628,
    "c": 0.1558,
    "h": 114.8
  },
  "luminance": 0.48129
}

Semantic roles & 50–950 ramp

primary
#B4C138
secondary
#908ACB
accent
#49DE58
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C138

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

Preview Lab → · Contrast checker → · Palette generator →

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