#B9C42B#B9C42B

#B9C42B is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.165 H 113.9°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#B9C42B
RGBrgb(185, 196, 43)
HSLhsl(64, 64%, 47%)
HSVhsv(64, 78%, 77%)
CMYKcmyk(5.6%, 0%, 78.1%, 23.1%)
CIE-LABlab(76.05, -21.50, 69.04)
CIE-LCHlch(76.05, 72.31, 107.30°)
OKLaboklab(78.62% -0.0666 0.1505)
OKLCHoklch(78.62% 0.165 113.9)
XYZxyz(40.1848, 49.9694, 9.8132)
Luminance0.4997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C42B #362BC4
analogous
#C4832B #B9C42B #6CC42B
triadic
#B9C42B #2BB9C4 #C42BB9
tetradic
#B9C42B #2BC483 #362BC4 #C42B6C
square
#B9C42B #2BC483 #362BC4 #C42B6C
split-complementary
#B9C42B #2B6CC4 #832BC4
monochromatic
#5A6015 #8A9220 #B9C42B #D0D953 #DDE485

Accessibility & contrast

On white

1.91
#B9C42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#B9C42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C42B
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C42B#FFFFFF#000000##000000
##B9C42B1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D2BD39
Tritanopia (blue-blind)
#C6B8A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c42b;
/* rgb */ color: rgb(185, 196, 43);
/* oklch */ color: oklch(78.6% 0.165 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d572',
    500: '#b9c42b',
    950: '#000000',
  },
}
SCSS
$custom: #b9c42b;
$custom-light: #d2d572;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c42b",
  "rgb": {
    "r": 185,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 64.314,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78618,
    "c": 0.1646,
    "h": 113.9
  },
  "luminance": 0.49969
}

Semantic roles & 50–950 ramp

primary
#B9C42B
secondary
#837DCE
accent
#41E74D
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #B9C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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