#B9C442#B9C442

#B9C442 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.8% C 0.151 H 114.0°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#B9C442
RGBrgb(185, 196, 66)
HSLhsl(65, 52%, 51%)
HSVhsv(65, 66%, 77%)
CMYKcmyk(5.6%, 0%, 66.3%, 23.1%)
CIE-LABlab(76.18, -20.38, 61.23)
CIE-LCHlch(76.18, 64.54, 108.41°)
OKLaboklab(78.77% -0.0614 0.1379)
OKLCHoklch(78.77% 0.151 114)
XYZxyz(40.7320, 50.1883, 12.6948)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C442 #4D42C4
analogous
#C48E42 #B9C442 #78C442
triadic
#B9C442 #42B9C4 #C442B9
tetradic
#B9C442 #42C48E #4D42C4 #C44278
square
#B9C442 #42C48E #4D42C4 #C44278
split-complementary
#B9C442 #4278C4 #8E42C4
monochromatic
#646A21 #909930 #B9C442 #CAD371 #DCE19F

Accessibility & contrast

On white

1.90
#B9C442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#B9C442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C442
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C442#FFFFFF#000000##000000
##B9C4421.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#C5B9AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c442;
/* rgb */ color: rgb(185, 196, 66);
/* oklch */ color: oklch(78.8% 0.151 114.0);
Tailwind
colors: {
  custom: {
    50: '#d1d57d',
    500: '#b9c442',
    950: '#000000',
  },
}
SCSS
$custom: #b9c442;
$custom-light: #d1d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c442",
  "rgb": {
    "r": 185,
    "g": 196,
    "b": 66
  },
  "hsl": {
    "h": 65.077,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78768,
    "c": 0.15099,
    "h": 114
  },
  "luminance": 0.50187
}

Semantic roles & 50–950 ramp

primary
#B9C442
secondary
#3B3674
accent
#4CDC58
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C442

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

Preview Lab → · Contrast checker → · Palette generator →

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