#B9D237#B9D237

#B9D237 is a light, vivid yellow. Relative luminance 0.567; OKLCH L 81.8% C 0.174 H 118.6°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#B9D237
RGBrgb(185, 210, 55)
HSLhsl(70, 63%, 52%)
HSVhsv(70, 74%, 82%)
CMYKcmyk(11.9%, 0%, 73.8%, 17.6%)
CIE-LABlab(80.00, -27.76, 68.97)
CIE-LCHlch(80.00, 74.35, 111.92°)
OKLaboklab(81.81% -0.0829 0.1524)
OKLCHoklch(81.81% 0.174 118.6)
XYZxyz(43.7447, 56.6837, 12.2502)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D237 #5037D2
analogous
#D29D37 #B9D237 #6CD237
triadic
#B9D237 #37B9D2 #D237B9
tetradic
#B9D237 #37D29D #5037D2 #D2376C
square
#B9D237 #37D29D #5037D2 #D2376C
split-complementary
#B9D237 #376CD2 #9D37D2
monochromatic
#66741A #92A625 #B9D237 #CADD69 #DCE89B

Accessibility & contrast

On white

1.70
#B9D237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#B9D237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D237
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D237#FFFFFF#000000##000000
##B9D2371.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C615
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#C4C6B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b9d237;
/* rgb */ color: rgb(185, 210, 55);
/* oklch */ color: oklch(81.8% 0.174 118.6);
Tailwind
colors: {
  custom: {
    50: '#d2df79',
    500: '#b9d237',
    950: '#000000',
  },
}
SCSS
$custom: #b9d237;
$custom-light: #d2df79;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d237",
  "rgb": {
    "r": 185,
    "g": 210,
    "b": 55
  },
  "hsl": {
    "h": 69.677,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81811,
    "c": 0.17353,
    "h": 118.6
  },
  "luminance": 0.56683
}

Semantic roles & 50–950 ramp

primary
#B9D237
secondary
#3D307D
accent
#41E65C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #B9D237

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

Preview Lab → · Contrast checker → · Palette generator →

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