#9AAB1C#9AAB1C

#9AAB1C is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.4% C 0.155 H 116.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#9AAB1C
RGBrgb(154, 171, 28)
HSLhsl(67, 72%, 39%)
HSVhsv(67, 84%, 67%)
CMYKcmyk(9.9%, 0%, 83.6%, 32.9%)
CIE-LABlab(66.58, -22.87, 63.89)
CIE-LCHlch(66.58, 67.86, 109.69°)
OKLaboklab(70.41% -0.0699 0.1381)
OKLCHoklch(70.41% 0.155 116.8)
XYZxyz(28.0997, 36.0801, 6.5823)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB1C #2D1CAB
analogous
#AB751C #9AAB1C #53AB1C
triadic
#9AAB1C #1C9AAB #AB1C9A
tetradic
#9AAB1C #1CAB75 #2D1CAB #AB1C53
square
#9AAB1C #1CAB75 #2D1CAB #AB1C53
split-complementary
#9AAB1C #1C53AB #751CAB
monochromatic
#3B420B #6B7613 #9AAB1C #C7DC28 #D4E45D

Accessibility & contrast

On white

2.56
#9AAB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#9AAB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAB1C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAB1C#FFFFFF#000000##000000
##9AAB1C1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#A4A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aab1c;
/* rgb */ color: rgb(154, 171, 28);
/* oklch */ color: oklch(70.4% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#bcc368',
    500: '#9aab1c',
    950: '#000000',
  },
}
SCSS
$custom: #9aab1c;
$custom-light: #bcc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab1c",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 67.133,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70411,
    "c": 0.15477,
    "h": 116.8
  },
  "luminance": 0.3608
}

Semantic roles & 50–950 ramp

primary
#9AAB1C
secondary
#675AC9
accent
#39EF4F
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AAB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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