#8A9D18#8A9D18

#8A9D18 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.147 H 118.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A9D18
RGBrgb(138, 157, 24)
HSLhsl(69, 73%, 35%)
HSVhsv(69, 85%, 62%)
CMYKcmyk(12.1%, 0%, 84.7%, 38.4%)
CIE-LABlab(61.29, -22.93, 59.88)
CIE-LCHlch(61.29, 64.12, 110.95°)
OKLaboklab(65.85% -0.0695 0.1294)
OKLCHoklch(65.85% 0.147 118.2)
XYZxyz(22.7036, 29.5834, 5.3781)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D18 #2B189D
analogous
#9D6D18 #8A9D18 #489D18
triadic
#8A9D18 #188A9D #9D188A
tetradic
#8A9D18 #189D6D #2B189D #9D1848
square
#8A9D18 #189D6D #2B189D #9D1848
split-complementary
#8A9D18 #18489D #6D189D
monochromatic
#2D3308 #5B6810 #8A9D18 #B9D220 #CEE44C

Accessibility & contrast

On white

3.04
#8A9D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8A9D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D18
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D18#FFFFFF#000000##000000
##8A9D181.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69527
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d18;
/* rgb */ color: rgb(138, 157, 24);
/* oklch */ color: oklch(65.9% 0.147 118.2);
Tailwind
colors: {
  custom: {
    50: '#b0b964',
    500: '#8a9d18',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d18;
$custom-light: #b0b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d18",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 68.571,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65851,
    "c": 0.1469,
    "h": 118.2
  },
  "luminance": 0.29583
}

Semantic roles & 50–950 ramp

primary
#8A9D18
secondary
#5D4BC5
accent
#38F052
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9D18

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

Preview Lab → · Contrast checker → · Palette generator →

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