#9AA827#9AA827

#9AA827 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.8% C 0.146 H 115.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9AA827
RGBrgb(154, 168, 39)
HSLhsl(67, 62%, 41%)
HSVhsv(67, 77%, 66%)
CMYKcmyk(8.3%, 0%, 76.8%, 34.1%)
CIE-LABlab(65.77, -20.96, 60.02)
CIE-LCHlch(65.77, 63.58, 109.24°)
OKLaboklab(69.77% -0.0638 0.1318)
OKLCHoklch(69.77% 0.146 115.8)
XYZxyz(27.6960, 35.0222, 7.2200)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA827 #3527A8
analogous
#A87627 #9AA827 #59A827
triadic
#9AA827 #279AA8 #A8279A
tetradic
#9AA827 #27A876 #3527A8 #A82759
square
#9AA827 #27A876 #3527A8 #A82759
split-complementary
#9AA827 #2759A8 #7627A8
monochromatic
#3F4510 #6C761B #9AA827 #C1D13B #D1DD6C

Accessibility & contrast

On white

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

On black

8.00
#9AA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA827
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA827#FFFFFF#000000##000000
##9AA8271.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aa827;
/* rgb */ color: rgb(154, 168, 39);
/* oklch */ color: oklch(69.8% 0.146 115.8);
Tailwind
colors: {
  custom: {
    50: '#bbc16c',
    500: '#9aa827',
    950: '#000000',
  },
}
SCSS
$custom: #9aa827;
$custom-light: #bbc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa827",
  "rgb": {
    "r": 154,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 66.512,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69771,
    "c": 0.14639,
    "h": 115.8
  },
  "luminance": 0.35022
}

Semantic roles & 50–950 ramp

primary
#9AA827
secondary
#7167C3
accent
#42E554
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA827

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

Preview Lab → · Contrast checker → · Palette generator →

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