#B4C145#B4C145

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

Color values

HEX#B4C145
RGBrgb(180, 193, 69)
HSLhsl(66, 50%, 51%)
HSVhsv(66, 64%, 76%)
CMYKcmyk(6.7%, 0%, 64.2%, 24.3%)
CIE-LABlab(75.00, -20.79, 58.68)
CIE-LCHlch(75.00, 62.25, 109.51°)
OKLaboklab(77.73% -0.062 0.1331)
OKLCHoklch(77.73% 0.147 115)
XYZxyz(38.9675, 48.2735, 12.8940)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C145 #5245C1
analogous
#C19045 #B4C145 #76C145
triadic
#B4C145 #45B4C1 #C145B4
tetradic
#B4C145 #45C190 #5245C1 #C14576
square
#B4C145 #45C190 #5245C1 #C14576
split-complementary
#B4C145 #4576C1 #9045C1
monochromatic
#616923 #8C9732 #B4C145 #C7D073 #D9E0A1

Accessibility & contrast

On white

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

On black

10.65
#B4C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C145
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C145#FFFFFF#000000##000000
##B4C1451.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB835
Deuteranopia (green-blind)
#CDBA4D
Tritanopia (blue-blind)
#BFB6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c145;
/* rgb */ color: rgb(180, 193, 69);
/* oklch */ color: oklch(77.7% 0.147 115.0);
Tailwind
colors: {
  custom: {
    50: '#cdd37f',
    500: '#b4c145',
    950: '#000000',
  },
}
SCSS
$custom: #b4c145;
$custom-light: #cdd37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c145",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 66.29,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7773,
    "c": 0.14684,
    "h": 115
  },
  "luminance": 0.48273
}

Semantic roles & 50–950 ramp

primary
#B4C145
secondary
#9B96CC
accent
#4EDA5D
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4C145

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

Preview Lab → · Contrast checker → · Palette generator →

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