#B9C145#B9C145

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

Color values

HEX#B9C145
RGBrgb(185, 193, 69)
HSLhsl(64, 50%, 51%)
HSVhsv(64, 64%, 76%)
CMYKcmyk(4.1%, 0%, 64.2%, 24.3%)
CIE-LABlab(75.38, -18.71, 59.20)
CIE-LCHlch(75.38, 62.08, 107.54°)
OKLaboklab(78.13% -0.0564 0.1341)
OKLCHoklch(78.13% 0.145 112.8)
XYZxyz(40.1528, 48.8847, 12.9496)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C145 #4D45C1
analogous
#C18B45 #B9C145 #7BC145
triadic
#B9C145 #45B9C1 #C145B9
tetradic
#B9C145 #45C18B #4D45C1 #C1457B
square
#B9C145 #45C18B #4D45C1 #C1457B
split-complementary
#B9C145 #457BC1 #8B45C1
monochromatic
#646923 #909732 #B9C145 #CAD073 #DCE0A1

Accessibility & contrast

On white

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

On black

10.78
#B9C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C145
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C145#FFFFFF#000000##000000
##B9C1451.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB835
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#C5B6A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c145;
/* rgb */ color: rgb(185, 193, 69);
/* oklch */ color: oklch(78.1% 0.145 112.8);
Tailwind
colors: {
  custom: {
    50: '#d1d37f',
    500: '#b9c145',
    950: '#000000',
  },
}
SCSS
$custom: #b9c145;
$custom-light: #d1d37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c145",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 63.871,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78131,
    "c": 0.14548,
    "h": 112.8
  },
  "luminance": 0.48884
}

Semantic roles & 50–950 ramp

primary
#B9C145
secondary
#9996CC
accent
#4EDA57
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9C145

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

Preview Lab → · Contrast checker → · Palette generator →

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