#B4C12C#B4C12C

#B4C12C is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.163 H 114.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B4C12C
RGBrgb(180, 193, 44)
HSLhsl(65, 63%, 46%)
HSVhsv(65, 77%, 76%)
CMYKcmyk(6.7%, 0%, 77.2%, 24.3%)
CIE-LABlab(74.84, -22.09, 67.51)
CIE-LCHlch(74.84, 71.03, 108.12°)
OKLaboklab(77.55% -0.0679 0.1476)
OKLCHoklch(77.55% 0.163 114.7)
XYZxyz(38.3481, 48.0258, 9.6322)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C12C #392CC1
analogous
#C1842C #B4C12C #6AC12C
triadic
#B4C12C #2CB4C1 #C12CB4
tetradic
#B4C12C #2CC184 #392CC1 #C12C6A
square
#B4C12C #2CC184 #392CC1 #C12C6A
split-complementary
#B4C12C #2C6AC1 #842CC1
monochromatic
#575D15 #868F21 #B4C12C #CCD853 #DBE384

Accessibility & contrast

On white

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

On black

10.60
#B4C12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C12C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C12C#FFFFFF#000000##000000
##B4C12C1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CFB93A
Tritanopia (blue-blind)
#C0B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c12c;
/* rgb */ color: rgb(180, 193, 44);
/* oklch */ color: oklch(77.6% 0.163 114.7);
Tailwind
colors: {
  custom: {
    50: '#ced372',
    500: '#b4c12c',
    950: '#000000',
  },
}
SCSS
$custom: #b4c12c;
$custom-light: #ced372;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c12c",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 65.235,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77555,
    "c": 0.1625,
    "h": 114.7
  },
  "luminance": 0.48025
}

Semantic roles & 50–950 ramp

primary
#B4C12C
secondary
#837DCC
accent
#42E650
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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