#B9C42F#B9C42F

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

Color values

HEX#B9C42F
RGBrgb(185, 196, 47)
HSLhsl(64, 61%, 48%)
HSVhsv(64, 76%, 77%)
CMYKcmyk(5.6%, 0%, 76%, 23.1%)
CIE-LABlab(76.07, -21.34, 67.85)
CIE-LCHlch(76.07, 71.13, 107.46°)
OKLaboklab(78.64% -0.0659 0.1487)
OKLCHoklch(78.64% 0.163 113.9)
XYZxyz(40.2618, 50.0002, 10.2189)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C42F #3A2FC4
analogous
#C4852F #B9C42F #6EC42F
triadic
#B9C42F #2FB9C4 #C42FB9
tetradic
#B9C42F #2FC485 #3A2FC4 #C42F6E
square
#B9C42F #2FC485 #3A2FC4 #C42F6E
split-complementary
#B9C42F #2F6EC4 #852FC4
monochromatic
#5C6117 #8A9323 #B9C42F #CED759 #DCE38A

Accessibility & contrast

On white

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

On black

11.00
#B9C42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C42F
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C42F#FFFFFF#000000##000000
##B9C42F1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA05
Deuteranopia (green-blind)
#D2BD3C
Tritanopia (blue-blind)
#C6B8A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c42f;
/* rgb */ color: rgb(185, 196, 47);
/* oklch */ color: oklch(78.6% 0.163 113.9);
Tailwind
colors: {
  custom: {
    50: '#d2d574',
    500: '#b9c42f',
    950: '#000000',
  },
}
SCSS
$custom: #b9c42f;
$custom-light: #d2d574;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c42f",
  "rgb": {
    "r": 185,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 64.43,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78639,
    "c": 0.16263,
    "h": 113.9
  },
  "luminance": 0.49999
}

Semantic roles & 50–950 ramp

primary
#B9C42F
secondary
#8782CD
accent
#43E44F
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #B9C42F

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

Preview Lab → · Contrast checker → · Palette generator →

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