#B4C140#B4C140

#B4C140 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.150 H 114.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B4C140
RGBrgb(180, 193, 64)
HSLhsl(66, 51%, 50%)
HSVhsv(66, 67%, 76%)
CMYKcmyk(6.7%, 0%, 66.8%, 24.3%)
CIE-LABlab(74.96, -21.10, 60.64)
CIE-LCHlch(74.96, 64.21, 109.18°)
OKLaboklab(77.69% -0.0634 0.1365)
OKLCHoklch(77.69% 0.15 114.9)
XYZxyz(38.8187, 48.2140, 12.1108)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C140 #4D40C1
analogous
#C18E40 #B4C140 #73C140
triadic
#B4C140 #40B4C1 #C140B4
tetradic
#B4C140 #40C18E #4D40C1 #C14073
square
#B4C140 #40C18E #4D40C1 #C14073
split-complementary
#B4C140 #4073C1 #8E40C1
monochromatic
#5F6621 #8A9430 #B4C140 #C6D06E #D8DF9C

Accessibility & contrast

On white

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

On black

10.64
#B4C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C140
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C140#FFFFFF#000000##000000
##B4C1401.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB82D
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#BFB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c140;
/* rgb */ color: rgb(180, 193, 64);
/* oklch */ color: oklch(77.7% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#cdd37c',
    500: '#b4c140',
    950: '#000000',
  },
}
SCSS
$custom: #b4c140;
$custom-light: #cdd37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c140",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 66.047,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77688,
    "c": 0.15049,
    "h": 114.9
  },
  "luminance": 0.48213
}

Semantic roles & 50–950 ramp

primary
#B4C140
secondary
#9792CB
accent
#4DDA5C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4C140

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

Preview Lab → · Contrast checker → · Palette generator →

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