#B9C140#B9C140

#B9C140 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.1% C 0.149 H 112.8°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#B9C140
RGBrgb(185, 193, 64)
HSLhsl(64, 51%, 50%)
HSVhsv(64, 67%, 76%)
CMYKcmyk(4.1%, 0%, 66.8%, 24.3%)
CIE-LABlab(75.34, -19.01, 61.16)
CIE-LCHlch(75.34, 64.04, 107.27°)
OKLaboklab(78.09% -0.0578 0.1375)
OKLCHoklch(78.09% 0.149 112.8)
XYZxyz(40.0041, 48.8252, 12.1664)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C140 #4840C1
analogous
#C18840 #B9C140 #78C140
triadic
#B9C140 #40B9C1 #C140B9
tetradic
#B9C140 #40C188 #4840C1 #C14078
square
#B9C140 #40C188 #4840C1 #C14078
split-complementary
#B9C140 #4078C1 #8840C1
monochromatic
#616621 #8E9430 #B9C140 #CAD06E #DBDF9C

Accessibility & contrast

On white

1.95
#B9C140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#B9C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C140
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C140#FFFFFF#000000##000000
##B9C1401.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#C5B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c140;
/* rgb */ color: rgb(185, 193, 64);
/* oklch */ color: oklch(78.1% 0.149 112.8);
Tailwind
colors: {
  custom: {
    50: '#d1d37c',
    500: '#b9c140',
    950: '#000000',
  },
}
SCSS
$custom: #b9c140;
$custom-light: #d1d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c140",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 63.721,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78089,
    "c": 0.14911,
    "h": 112.8
  },
  "luminance": 0.48824
}

Semantic roles & 50–950 ramp

primary
#B9C140
secondary
#9592CB
accent
#4DDA56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9C140

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

Preview Lab → · Contrast checker → · Palette generator →

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