#B9C12C#B9C12C

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

Color values

HEX#B9C12C
RGBrgb(185, 193, 44)
HSLhsl(63, 63%, 46%)
HSVhsv(63, 77%, 76%)
CMYKcmyk(4.1%, 0%, 77.2%, 24.3%)
CIE-LABlab(75.22, -19.98, 68.00)
CIE-LCHlch(75.22, 70.87, 106.37°)
OKLaboklab(77.96% -0.0623 0.1485)
OKLCHoklch(77.96% 0.161 112.8)
XYZxyz(39.5335, 48.6370, 9.6877)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C12C #342CC1
analogous
#C17E2C #B9C12C #6FC12C
triadic
#B9C12C #2CB9C1 #C12CB9
tetradic
#B9C12C #2CC17E #342CC1 #C12C6F
square
#B9C12C #2CC17E #342CC1 #C12C6F
split-complementary
#B9C12C #2C6FC1 #7E2CC1
monochromatic
#595D15 #898F21 #B9C12C #D1D853 #DEE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C12C#FFFFFF#000000##000000
##B9C12C1.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)
#D0B800
Deuteranopia (green-blind)
#D0BB39
Tritanopia (blue-blind)
#C6B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c12c;
/* rgb */ color: rgb(185, 193, 44);
/* oklch */ color: oklch(78.0% 0.161 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d372',
    500: '#b9c12c',
    950: '#000000',
  },
}
SCSS
$custom: #b9c12c;
$custom-light: #d2d372;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c12c",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 63.221,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77958,
    "c": 0.16103,
    "h": 112.8
  },
  "luminance": 0.48636
}

Semantic roles & 50–950 ramp

primary
#B9C12C
secondary
#817DCC
accent
#42E64B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C12C

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

Preview Lab → · Contrast checker → · Palette generator →

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