#B9C236#B9C236

#B9C236 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.2% C 0.157 H 113.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B9C236
RGBrgb(185, 194, 54)
HSLhsl(64, 56%, 49%)
HSVhsv(64, 72%, 76%)
CMYKcmyk(4.6%, 0%, 72.2%, 23.9%)
CIE-LABlab(75.55, -20.04, 65.06)
CIE-LCHlch(75.55, 68.08, 107.12°)
OKLaboklab(78.24% -0.0616 0.144)
OKLCHoklch(78.24% 0.157 113.2)
XYZxyz(39.9664, 49.1651, 10.8738)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C236 #3F36C2
analogous
#C28536 #B9C236 #73C236
triadic
#B9C236 #36B9C2 #C236B9
tetradic
#B9C236 #36C285 #3F36C2 #C23673
square
#B9C236 #36C285 #3F36C2 #C23673
split-complementary
#B9C236 #3673C2 #8536C2
monochromatic
#5E621B #8B9229 #B9C236 #CCD362 #DCE192

Accessibility & contrast

On white

1.94
#B9C236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#B9C236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C236
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C236#FFFFFF#000000##000000
##B9C2361.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c236;
/* rgb */ color: rgb(185, 194, 54);
/* oklch */ color: oklch(78.2% 0.157 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d477',
    500: '#b9c236',
    950: '#000000',
  },
}
SCSS
$custom: #b9c236;
$custom-light: #d2d477;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c236",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 63.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78238,
    "c": 0.15666,
    "h": 113.2
  },
  "luminance": 0.49164
}

Semantic roles & 50–950 ramp

primary
#B9C236
secondary
#8D88CC
accent
#48E052
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B9C236

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

Preview Lab → · Contrast checker → · Palette generator →

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