#B9C138#B9C138

#B9C138 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.154 H 112.8°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#B9C138
RGBrgb(185, 193, 56)
HSLhsl(64, 55%, 49%)
HSVhsv(64, 71%, 76%)
CMYKcmyk(4.1%, 0%, 71%, 24.3%)
CIE-LABlab(75.29, -19.44, 64.10)
CIE-LCHlch(75.29, 66.98, 106.87°)
OKLaboklab(78.03% -0.0598 0.1423)
OKLCHoklch(78.03% 0.154 112.8)
XYZxyz(39.7926, 48.7406, 11.0523)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C138 #4038C1
analogous
#C18538 #B9C138 #75C138
triadic
#B9C138 #38B9C1 #C138B9
tetradic
#B9C138 #38C185 #4038C1 #C13875
square
#B9C138 #38C185 #4038C1 #C13875
split-complementary
#B9C138 #3875C1 #8538C1
monochromatic
#5E621C #8C922A #B9C138 #CCD264 #DBE094

Accessibility & contrast

On white

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

On black

10.75
#B9C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C138
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C138#FFFFFF#000000##000000
##B9C1381.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB81F
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#C5B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c138;
/* rgb */ color: rgb(185, 193, 56);
/* oklch */ color: oklch(78.0% 0.154 112.8);
Tailwind
colors: {
  custom: {
    50: '#d1d378',
    500: '#b9c138',
    950: '#000000',
  },
}
SCSS
$custom: #b9c138;
$custom-light: #d1d378;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c138",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 63.504,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7803,
    "c": 0.15438,
    "h": 112.8
  },
  "luminance": 0.4874
}

Semantic roles & 50–950 ramp

primary
#B9C138
secondary
#8E8ACB
accent
#49DE52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B9C138

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

Preview Lab → · Contrast checker → · Palette generator →

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