#B9C27A#B9C27A

#B9C27A is a light, moderate yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.095 H 114.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#B9C27A
RGBrgb(185, 194, 122)
HSLhsl(68, 37%, 62%)
HSVhsv(68, 37%, 76%)
CMYKcmyk(4.6%, 0%, 37.1%, 23.9%)
CIE-LABlab(76.26, -14.37, 35.20)
CIE-LCHlch(76.26, 38.02, 112.21°)
OKLaboklab(79.03% -0.0392 0.0864)
OKLCHoklch(79.03% 0.095 114.4)
XYZxyz(42.8125, 50.3035, 25.8628)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C27A #837AC2
analogous
#C2A77A #B9C27A #95C27A
triadic
#B9C27A #7AB9C2 #C27AB9
tetradic
#B9C27A #7AC2A7 #837AC2 #C27A95
square
#B9C27A #7AC2A7 #837AC2 #C27A95
split-complementary
#B9C27A #7A95C2 #A77AC2
monochromatic
#7C853D #A3AF50 #B9C27A #CFD5A4 #E5E8CE

Accessibility & contrast

On white

1.90
#B9C27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#B9C27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C27A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C27A#FFFFFF#000000##000000
##B9C27A1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB75
Deuteranopia (green-blind)
#CBBD7D
Tritanopia (blue-blind)
#C1BAB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c27a;
/* rgb */ color: rgb(185, 194, 122);
/* oklch */ color: oklch(79.0% 0.095 114.4);
Tailwind
colors: {
  custom: {
    50: '#cfd4a1',
    500: '#b9c27a',
    950: '#000000',
  },
}
SCSS
$custom: #b9c27a;
$custom-light: #cfd4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c27a",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 122
  },
  "hsl": {
    "h": 67.5,
    "s": 37.113,
    "l": 61.961
  },
  "oklch": {
    "l": 0.79025,
    "c": 0.09491,
    "h": 114.4
  },
  "luminance": 0.50303
}

Semantic roles & 50–950 ramp

primary
#B9C27A
secondary
#5A538D
accent
#35B045
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #B9C27A

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

Preview Lab → · Contrast checker → · Palette generator →

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