#B9C22D#B9C22D

#B9C22D is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.2% C 0.162 H 113.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#B9C22D
RGBrgb(185, 194, 45)
HSLhsl(64, 62%, 47%)
HSVhsv(64, 77%, 76%)
CMYKcmyk(4.6%, 0%, 76.8%, 23.9%)
CIE-LABlab(75.51, -20.43, 67.95)
CIE-LCHlch(75.51, 70.96, 106.74°)
OKLaboklab(78.19% -0.0635 0.1486)
OKLCHoklch(78.19% 0.162 113.1)
XYZxyz(39.7743, 49.0882, 9.8619)
Luminance0.4909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C22D #362DC2
analogous
#C2812D #B9C22D #6FC22D
triadic
#B9C22D #2DB9C2 #C22DB9
tetradic
#B9C22D #2DC281 #362DC2 #C22D6F
square
#B9C22D #2DC281 #362DC2 #C22D6F
split-complementary
#B9C22D #2D6FC2 #812DC2
monochromatic
#5A5F16 #8A9021 #B9C22D #D0D755 #DDE386

Accessibility & contrast

On white

1.94
#B9C22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#B9C22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C22D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C22D#FFFFFF#000000##000000
##B9C22D1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D1BC3A
Tritanopia (blue-blind)
#C6B6A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c22d;
/* rgb */ color: rgb(185, 194, 45);
/* oklch */ color: oklch(78.2% 0.162 113.1);
Tailwind
colors: {
  custom: {
    50: '#d2d473',
    500: '#b9c22d',
    950: '#000000',
  },
}
SCSS
$custom: #b9c22d;
$custom-light: #d2d473;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c22d",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 63.624,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78185,
    "c": 0.16156,
    "h": 113.1
  },
  "luminance": 0.49087
}

Semantic roles & 50–950 ramp

primary
#B9C22D
secondary
#837ECD
accent
#42E54C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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