#8A9B18#8A9B18

#8A9B18 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.4% C 0.145 H 117.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8A9B18
RGBrgb(138, 155, 24)
HSLhsl(68, 73%, 35%)
HSVhsv(68, 85%, 61%)
CMYKcmyk(11%, 0%, 84.5%, 39.2%)
CIE-LABlab(60.70, -21.92, 59.38)
CIE-LCHlch(60.70, 63.30, 110.26°)
OKLaboklab(65.38% -0.0667 0.1284)
OKLCHoklch(65.38% 0.145 117.5)
XYZxyz(22.3680, 28.9122, 5.2662)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B18 #29189B
analogous
#9B6A18 #8A9B18 #499B18
triadic
#8A9B18 #188A9B #9B188A
tetradic
#8A9B18 #189B6A #29189B #9B1849
square
#8A9B18 #189B6A #29189B #9B1849
split-complementary
#8A9B18 #18499B #6A189B
monochromatic
#2C3108 #5B6610 #8A9B18 #B9D020 #CFE34A

Accessibility & contrast

On white

3.10
#8A9B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8A9B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B18
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B18#FFFFFF#000000##000000
##8A9B181.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#939284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9b18;
/* rgb */ color: rgb(138, 155, 24);
/* oklch */ color: oklch(65.4% 0.145 117.5);
Tailwind
colors: {
  custom: {
    50: '#b0b864',
    500: '#8a9b18',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b18;
$custom-light: #b0b864;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b18",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 67.786,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.14466,
    "h": 117.5
  },
  "luminance": 0.28912
}

Semantic roles & 50–950 ramp

primary
#8A9B18
secondary
#5A4AC5
accent
#38F050
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9B18

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

Preview Lab → · Contrast checker → · Palette generator →

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