#B9C237#B9C237

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

Color values

HEX#B9C237
RGBrgb(185, 194, 55)
HSLhsl(64, 56%, 49%)
HSVhsv(64, 72%, 76%)
CMYKcmyk(4.6%, 0%, 71.6%, 23.9%)
CIE-LABlab(75.56, -19.99, 64.72)
CIE-LCHlch(75.56, 67.73, 107.17°)
OKLaboklab(78.25% -0.0614 0.1435)
OKLCHoklch(78.25% 0.156 113.2)
XYZxyz(39.9902, 49.1746, 10.9987)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C237 #4037C2
analogous
#C28637 #B9C237 #74C237
triadic
#B9C237 #37B9C2 #C237B9
tetradic
#B9C237 #37C286 #4037C2 #C23774
square
#B9C237 #37C286 #4037C2 #C23774
split-complementary
#B9C237 #3774C2 #8637C2
monochromatic
#5E631C #8C9229 #B9C237 #CCD363 #DBE093

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C237#FFFFFF#000000##000000
##B9C2371.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)
#D0B91D
Deuteranopia (green-blind)
#D0BC42
Tritanopia (blue-blind)
#C5B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c237;
/* rgb */ color: rgb(185, 194, 55);
/* oklch */ color: oklch(78.2% 0.156 113.2);
Tailwind
colors: {
  custom: {
    50: '#d1d477',
    500: '#b9c237',
    950: '#000000',
  },
}
SCSS
$custom: #b9c237;
$custom-light: #d1d477;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c237",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 63.885,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78245,
    "c": 0.15605,
    "h": 113.2
  },
  "luminance": 0.49174
}

Semantic roles & 50–950 ramp

primary
#B9C237
secondary
#8E89CB
accent
#49DF52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B9C237

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

Preview Lab → · Contrast checker → · Palette generator →

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