#B9D12B#B9D12B

#B9D12B is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.5% C 0.178 H 118.1°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#B9D12B
RGBrgb(185, 209, 43)
HSLhsl(69, 66%, 49%)
HSVhsv(69, 79%, 82%)
CMYKcmyk(11.5%, 0%, 79.4%, 18%)
CIE-LABlab(79.67, -27.78, 72.26)
CIE-LCHlch(79.67, 77.42, 111.03°)
OKLaboklab(81.52% -0.0839 0.1574)
OKLCHoklch(81.52% 0.178 118.1)
XYZxyz(43.2452, 56.0901, 10.8333)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D12B #432BD1
analogous
#D1962B #B9D12B #66D12B
triadic
#B9D12B #2BB9D1 #D12BB9
tetradic
#B9D12B #2BD196 #432BD1 #D12B66
square
#B9D12B #2BD196 #432BD1 #D12B66
split-complementary
#B9D12B #2B66D1 #962BD1
monochromatic
#5F6B16 #8C9E21 #B9D12B #CBDD5C #DBE88F

Accessibility & contrast

On white

1.72
#B9D12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#B9D12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D12B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D12B#FFFFFF#000000##000000
##B9D12B1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC500
Deuteranopia (green-blind)
#DDC63C
Tritanopia (blue-blind)
#C5C5B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b9d12b;
/* rgb */ color: rgb(185, 209, 43);
/* oklch */ color: oklch(81.5% 0.178 118.1);
Tailwind
colors: {
  custom: {
    50: '#d2df74',
    500: '#b9d12b',
    950: '#000000',
  },
}
SCSS
$custom: #b9d12b;
$custom-light: #d2df74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d12b",
  "rgb": {
    "r": 185,
    "g": 209,
    "b": 43
  },
  "hsl": {
    "h": 68.675,
    "s": 65.873,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81522,
    "c": 0.17838,
    "h": 118.1
  },
  "luminance": 0.5609
}

Semantic roles & 50–950 ramp

primary
#B9D12B
secondary
#362B75
accent
#3FE958
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9D12B

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

Preview Lab → · Contrast checker → · Palette generator →

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