#B9C738#B9C738

#B9C738 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.4% C 0.161 H 115.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#B9C738
RGBrgb(185, 199, 56)
HSLhsl(66, 56%, 50%)
HSVhsv(66, 72%, 78%)
CMYKcmyk(7%, 0%, 71.9%, 22%)
CIE-LABlab(76.95, -22.40, 65.71)
CIE-LCHlch(76.95, 69.42, 108.83°)
OKLaboklab(79.36% -0.068 0.1457)
OKLCHoklch(79.36% 0.161 115)
XYZxyz(41.1459, 51.4474, 11.5034)
Luminance0.5145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C738 #4638C7
analogous
#C78D38 #B9C738 #72C738
triadic
#B9C738 #38B9C7 #C738B9
tetradic
#B9C738 #38C78D #4638C7 #C73872
square
#B9C738 #38C78D #4638C7 #C73872
split-complementary
#B9C738 #3872C7 #8D38C7
monochromatic
#60671D #8D972B #B9C738 #CAD468 #DBE298

Accessibility & contrast

On white

1.86
#B9C738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#B9C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C738
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C738#FFFFFF#000000##000000
##B9C7381.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#C5BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b9c738;
/* rgb */ color: rgb(185, 199, 56);
/* oklch */ color: oklch(79.4% 0.161 115.0);
Tailwind
colors: {
  custom: {
    50: '#d1d778',
    500: '#b9c738',
    950: '#000000',
  },
}
SCSS
$custom: #b9c738;
$custom-light: #d1d778;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c738",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 65.874,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.7936,
    "c": 0.16082,
    "h": 115
  },
  "luminance": 0.51447
}

Semantic roles & 50–950 ramp

primary
#B9C738
secondary
#383272
accent
#48DF57
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C738

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

Preview Lab → · Contrast checker → · Palette generator →

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