#B4C122#B4C122

#B4C122 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.167 H 114.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#B4C122
RGBrgb(180, 193, 34)
HSLhsl(65, 70%, 45%)
HSVhsv(65, 82%, 76%)
CMYKcmyk(6.7%, 0%, 82.4%, 24.3%)
CIE-LABlab(74.80, -22.45, 70.21)
CIE-LCHlch(74.80, 73.72, 107.73°)
OKLaboklab(77.51% -0.0696 0.1517)
OKLCHoklch(77.51% 0.167 114.6)
XYZxyz(38.1823, 47.9595, 8.7588)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C122 #2F22C1
analogous
#C17F22 #B4C122 #64C122
triadic
#B4C122 #22B4C1 #C122B4
tetradic
#B4C122 #22C17F #2F22C1 #C12264
square
#B4C122 #22C17F #2F22C1 #C12264
split-complementary
#B4C122 #2264C1 #7F22C1
monochromatic
#535910 #838D19 #B4C122 #D1DE42 #DEE776

Accessibility & contrast

On white

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

On black

10.59
#B4C122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C122
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C122#FFFFFF#000000##000000
##B4C1221.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c122;
/* rgb */ color: rgb(180, 193, 34);
/* oklch */ color: oklch(77.5% 0.167 114.6);
Tailwind
colors: {
  custom: {
    50: '#cfd36e',
    500: '#b4c122',
    950: '#000000',
  },
}
SCSS
$custom: #b4c122;
$custom-light: #cfd36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c122",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 34
  },
  "hsl": {
    "h": 64.906,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77508,
    "c": 0.1669,
    "h": 114.6
  },
  "luminance": 0.47959
}

Semantic roles & 50–950 ramp

primary
#B4C122
secondary
#7871CE
accent
#3BED4A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4C122

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

Preview Lab → · Contrast checker → · Palette generator →

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