#B9C627#B9C627

#B9C627 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.0% C 0.168 H 114.6°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#B9C627
RGBrgb(185, 198, 39)
HSLhsl(65, 67%, 46%)
HSVhsv(65, 80%, 78%)
CMYKcmyk(6.6%, 0%, 80.3%, 22.4%)
CIE-LABlab(76.59, -22.62, 70.63)
CIE-LCHlch(76.59, 74.16, 107.76°)
OKLaboklab(79.04% -0.07 0.1532)
OKLCHoklch(79.04% 0.168 114.6)
XYZxyz(40.5691, 50.8497, 9.5969)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C627 #3427C6
analogous
#C68427 #B9C627 #69C627
triadic
#B9C627 #27B9C6 #C627B9
tetradic
#B9C627 #27C684 #3427C6 #C62769
square
#B9C627 #27C684 #3427C6 #C62769
split-complementary
#B9C627 #2769C6 #8427C6
monochromatic
#596013 #89931D #B9C627 #D1DC4E #DEE681

Accessibility & contrast

On white

1.88
#B9C627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#B9C627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C627
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C627#FFFFFF#000000##000000
##B9C6271.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BE37
Tritanopia (blue-blind)
#C6BAA9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b9c627;
/* rgb */ color: rgb(185, 198, 39);
/* oklch */ color: oklch(79.0% 0.168 114.6);
Tailwind
colors: {
  custom: {
    50: '#d2d771',
    500: '#b9c627',
    950: '#000000',
  },
}
SCSS
$custom: #b9c627;
$custom-light: #d2d771;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c627",
  "rgb": {
    "r": 185,
    "g": 198,
    "b": 39
  },
  "hsl": {
    "h": 64.906,
    "s": 67.089,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79044,
    "c": 0.16846,
    "h": 114.6
  },
  "luminance": 0.50849
}

Semantic roles & 50–950 ramp

primary
#B9C627
secondary
#2C276B
accent
#3EEA4C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C627

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

Preview Lab → · Contrast checker → · Palette generator →

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