#9BA827#9BA827

#9BA827 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.146 H 115.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9BA827
RGBrgb(155, 168, 39)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 77%, 66%)
CMYKcmyk(7.7%, 0%, 76.8%, 34.1%)
CIE-LABlab(65.84, -20.52, 60.12)
CIE-LCHlch(65.84, 63.53, 108.85°)
OKLaboklab(69.85% -0.0627 0.1319)
OKLCHoklch(69.85% 0.146 115.4)
XYZxyz(27.8872, 35.1208, 7.2290)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA827 #3427A8
analogous
#A87527 #9BA827 #5AA827
triadic
#9BA827 #279BA8 #A8279B
tetradic
#9BA827 #27A875 #3427A8 #A8275A
square
#9BA827 #27A875 #3427A8 #A8275A
split-complementary
#9BA827 #275AA8 #7527A8
monochromatic
#3F4510 #6D761B #9BA827 #C2D13B #D2DD6C

Accessibility & contrast

On white

2.62
#9BA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9BA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA827
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA827#FFFFFF#000000##000000
##9BA8271.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F04
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#A59E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba827;
/* rgb */ color: rgb(155, 168, 39);
/* oklch */ color: oklch(69.9% 0.146 115.4);
Tailwind
colors: {
  custom: {
    50: '#bcc16c',
    500: '#9ba827',
    950: '#000000',
  },
}
SCSS
$custom: #9ba827;
$custom-light: #bcc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba827",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 66.047,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69852,
    "c": 0.14606,
    "h": 115.4
  },
  "luminance": 0.3512
}

Semantic roles & 50–950 ramp

primary
#9BA827
secondary
#7167C3
accent
#42E553
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA827

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

Preview Lab → · Contrast checker → · Palette generator →

#9BA827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva