#B4C42F#B4C42F

#B4C42F is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.2% C 0.164 H 115.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#B4C42F
RGBrgb(180, 196, 47)
HSLhsl(66, 61%, 48%)
HSVhsv(66, 76%, 77%)
CMYKcmyk(8.2%, 0%, 76%, 23.1%)
CIE-LABlab(75.69, -23.44, 67.37)
CIE-LCHlch(75.69, 71.33, 109.18°)
OKLaboklab(78.24% -0.0714 0.1479)
OKLCHoklch(78.24% 0.164 115.8)
XYZxyz(39.0765, 49.3890, 10.1633)
Luminance0.4939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C42F #3F2FC4
analogous
#C4892F #B4C42F #69C42F
triadic
#B4C42F #2FB4C4 #C42FB4
tetradic
#B4C42F #2FC489 #3F2FC4 #C42F69
square
#B4C42F #2FC489 #3F2FC4 #C42F69
split-complementary
#B4C42F #2F69C4 #892FC4
monochromatic
#596117 #879323 #B4C42F #CAD759 #DAE38A

Accessibility & contrast

On white

1.93
#B4C42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#B4C42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C42F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C42F#FFFFFF#000000##000000
##B4C42F1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA05
Deuteranopia (green-blind)
#D1BC3C
Tritanopia (blue-blind)
#C0B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c42f;
/* rgb */ color: rgb(180, 196, 47);
/* oklch */ color: oklch(78.2% 0.164 115.8);
Tailwind
colors: {
  custom: {
    50: '#ced574',
    500: '#b4c42f',
    950: '#000000',
  },
}
SCSS
$custom: #b4c42f;
$custom-light: #ced574;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c42f",
  "rgb": {
    "r": 180,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 66.443,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78243,
    "c": 0.16419,
    "h": 115.8
  },
  "luminance": 0.49388
}

Semantic roles & 50–950 ramp

primary
#B4C42F
secondary
#8A82CD
accent
#43E455
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C42F

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

Preview Lab → · Contrast checker → · Palette generator →

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