#9AA427#9AA427

#9AA427 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.142 H 114.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9AA427
RGBrgb(154, 164, 39)
HSLhsl(65, 62%, 40%)
HSVhsv(65, 76%, 64%)
CMYKcmyk(6.1%, 0%, 76.2%, 35.7%)
CIE-LABlab(64.62, -18.93, 58.96)
CIE-LCHlch(64.62, 61.93, 107.80°)
OKLaboklab(68.85% -0.0582 0.1295)
OKLCHoklch(68.85% 0.142 114.2)
XYZxyz(26.9689, 33.5680, 6.9776)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA427 #3127A4
analogous
#A47027 #9AA427 #5CA427
triadic
#9AA427 #279AA4 #A4279A
tetradic
#9AA427 #27A470 #3127A4 #A4275C
square
#9AA427 #27A470 #3127A4 #A4275C
split-complementary
#9AA427 #275CA4 #7027A4
monochromatic
#3D410F #6C731B #9AA427 #C4D038 #D2DC6A

Accessibility & contrast

On white

2.72
#9AA427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9AA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA427
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA427#FFFFFF#000000##000000
##9AA4271.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C07
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A49A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa427;
/* rgb */ color: rgb(154, 164, 39);
/* oklch */ color: oklch(68.8% 0.142 114.2);
Tailwind
colors: {
  custom: {
    50: '#bbbe6c',
    500: '#9aa427',
    950: '#000000',
  },
}
SCSS
$custom: #9aa427;
$custom-light: #bbbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa427",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 64.8,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6885,
    "c": 0.14199,
    "h": 114.2
  },
  "luminance": 0.33567
}

Semantic roles & 50–950 ramp

primary
#9AA427
secondary
#6C65C2
accent
#43E550
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA427

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

Preview Lab → · Contrast checker → · Palette generator →

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