#8AA01B#8AA01B

#8AA01B is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.6% C 0.149 H 119.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8AA01B
RGBrgb(138, 160, 27)
HSLhsl(70, 71%, 37%)
HSVhsv(70, 83%, 63%)
CMYKcmyk(13.8%, 0%, 83.1%, 37.3%)
CIE-LABlab(62.19, -24.32, 59.89)
CIE-LCHlch(62.19, 64.64, 112.10°)
OKLaboklab(66.58% -0.0731 0.13)
OKLCHoklch(66.58% 0.149 119.4)
XYZxyz(23.2504, 30.6242, 5.7229)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA01B #311BA0
analogous
#A0741B #8AA01B #48A01B
triadic
#8AA01B #1B8AA0 #A01B8A
tetradic
#8AA01B #1BA074 #311BA0 #A01B48
square
#8AA01B #1BA074 #311BA0 #A01B48
split-complementary
#8AA01B #1B48A0 #741BA0
monochromatic
#303709 #5D6C12 #8AA01B #B7D424 #CAE253

Accessibility & contrast

On white

2.95
#8AA01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8AA01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA01B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA01B#FFFFFF#000000##000000
##8AA01B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A8972A
Tritanopia (blue-blind)
#939788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8aa01b;
/* rgb */ color: rgb(138, 160, 27);
/* oklch */ color: oklch(66.6% 0.149 119.4);
Tailwind
colors: {
  custom: {
    50: '#b0bc66',
    500: '#8aa01b',
    950: '#000000',
  },
}
SCSS
$custom: #8aa01b;
$custom-light: #b0bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa01b",
  "rgb": {
    "r": 138,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 69.925,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66576,
    "c": 0.1491,
    "h": 119.4
  },
  "luminance": 0.30624
}

Semantic roles & 50–950 ramp

primary
#8AA01B
secondary
#6552C5
accent
#3AEE58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8AA01B

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

Preview Lab → · Contrast checker → · Palette generator →

#8AA01B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva