#B4C12E#B4C12E

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

Color values

HEX#B4C12E
RGBrgb(180, 193, 46)
HSLhsl(65, 62%, 47%)
HSVhsv(65, 76%, 76%)
CMYKcmyk(6.7%, 0%, 76.2%, 24.3%)
CIE-LABlab(74.85, -22.01, 66.90)
CIE-LCHlch(74.85, 70.43, 108.21°)
OKLaboklab(77.57% -0.0675 0.1467)
OKLCHoklch(77.57% 0.161 114.7)
XYZxyz(38.3866, 48.0412, 9.8350)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C12E #3B2EC1
analogous
#C1852E #B4C12E #6BC12E
triadic
#B4C12E #2EB4C1 #C12EB4
tetradic
#B4C12E #2EC185 #3B2EC1 #C12E6B
square
#B4C12E #2EC185 #3B2EC1 #C12E6B
split-complementary
#B4C12E #2E6BC1 #852EC1
monochromatic
#585E16 #869022 #B4C12E #CBD756 #DAE287

Accessibility & contrast

On white

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

On black

10.61
#B4C12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C12E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C12E#FFFFFF#000000##000000
##B4C12E1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB704
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#C0B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c12e;
/* rgb */ color: rgb(180, 193, 46);
/* oklch */ color: oklch(77.6% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#ced373',
    500: '#b4c12e',
    950: '#000000',
  },
}
SCSS
$custom: #b4c12e;
$custom-light: #ced373;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c12e",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 65.306,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77566,
    "c": 0.16149,
    "h": 114.7
  },
  "luminance": 0.4804
}

Semantic roles & 50–950 ramp

primary
#B4C12E
secondary
#867FCC
accent
#43E551
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C12E

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

Preview Lab → · Contrast checker → · Palette generator →

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