#B9C12E#B9C12E

#B9C12E is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.160 H 112.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B9C12E
RGBrgb(185, 193, 46)
HSLhsl(63, 62%, 47%)
HSVhsv(63, 76%, 76%)
CMYKcmyk(4.1%, 0%, 76.2%, 24.3%)
CIE-LABlab(75.23, -19.90, 67.40)
CIE-LCHlch(75.23, 70.27, 106.45°)
OKLaboklab(77.97% -0.0619 0.1476)
OKLCHoklch(77.97% 0.16 112.8)
XYZxyz(39.5720, 48.6524, 9.8905)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C12E #362EC1
analogous
#C17F2E #B9C12E #70C12E
triadic
#B9C12E #2EB9C1 #C12EB9
tetradic
#B9C12E #2EC17F #362EC1 #C12E70
square
#B9C12E #2EC17F #362EC1 #C12E70
split-complementary
#B9C12E #2E70C1 #7F2EC1
monochromatic
#5A5E16 #8A9022 #B9C12E #D0D756 #DDE287

Accessibility & contrast

On white

1.96
#B9C12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B9C12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C12E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C12E#FFFFFF#000000##000000
##B9C12E1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B804
Deuteranopia (green-blind)
#D0BB3B
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c12e;
/* rgb */ color: rgb(185, 193, 46);
/* oklch */ color: oklch(78.0% 0.160 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d373',
    500: '#b9c12e',
    950: '#000000',
  },
}
SCSS
$custom: #b9c12e;
$custom-light: #d2d373;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c12e",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 46
  },
  "hsl": {
    "h": 63.265,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77969,
    "c": 0.16003,
    "h": 112.8
  },
  "luminance": 0.48651
}

Semantic roles & 50–950 ramp

primary
#B9C12E
secondary
#837FCC
accent
#43E54C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C12E

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

Preview Lab → · Contrast checker → · Palette generator →

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