#B4C12F#B4C12F

#B4C12F 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#B4C12F
RGBrgb(180, 193, 47)
HSLhsl(65, 61%, 47%)
HSVhsv(65, 76%, 76%)
CMYKcmyk(6.7%, 0%, 75.6%, 24.3%)
CIE-LABlab(74.86, -21.97, 66.59)
CIE-LCHlch(74.86, 70.12, 108.26°)
OKLaboklab(77.57% -0.0673 0.1462)
OKLCHoklch(77.57% 0.161 114.7)
XYZxyz(38.4066, 48.0492, 9.9400)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C12F #3C2FC1
analogous
#C1852F #B4C12F #6BC12F
triadic
#B4C12F #2FB4C1 #C12FB4
tetradic
#B4C12F #2FC185 #3C2FC1 #C12F6B
square
#B4C12F #2FC185 #3C2FC1 #C12F6B
split-complementary
#B4C12F #2F6BC1 #852FC1
monochromatic
#585F17 #869023 #B4C12F #CBD657 #DAE288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C12F#FFFFFF#000000##000000
##B4C12F1.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)
#CFB708
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C0B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c12f;
/* rgb */ color: rgb(180, 193, 47);
/* oklch */ color: oklch(77.6% 0.161 114.7);
Tailwind
colors: {
  custom: {
    50: '#ced373',
    500: '#b4c12f',
    950: '#000000',
  },
}
SCSS
$custom: #b4c12f;
$custom-light: #ced373;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c12f",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 65.342,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77572,
    "c": 0.16097,
    "h": 114.7
  },
  "luminance": 0.48048
}

Semantic roles & 50–950 ramp

primary
#B4C12F
secondary
#8780CC
accent
#44E452
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C12F

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

Preview Lab → · Contrast checker → · Palette generator →

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