#8A9F18#8A9F18

#8A9F18 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.3% C 0.149 H 119.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A9F18
RGBrgb(138, 159, 24)
HSLhsl(69, 74%, 36%)
HSVhsv(69, 85%, 62%)
CMYKcmyk(13.2%, 0%, 84.9%, 37.6%)
CIE-LABlab(61.88, -23.92, 60.39)
CIE-LCHlch(61.88, 64.95, 111.61°)
OKLaboklab(66.33% -0.0722 0.1305)
OKLCHoklch(66.33% 0.149 119)
XYZxyz(23.0448, 30.2657, 5.4918)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F18 #2D189F
analogous
#9F7018 #8A9F18 #479F18
triadic
#8A9F18 #188A9F #9F188A
tetradic
#8A9F18 #189F70 #2D189F #9F1847
square
#8A9F18 #189F70 #2D189F #9F1847
split-complementary
#8A9F18 #18479F #70189F
monochromatic
#2E3508 #5C6A10 #8A9F18 #B8D420 #CDE44D

Accessibility & contrast

On white

2.98
#8A9F18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#8A9F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F18
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F18#FFFFFF#000000##000000
##8A9F181.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#939687
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9f18;
/* rgb */ color: rgb(138, 159, 24);
/* oklch */ color: oklch(66.3% 0.149 119.0);
Tailwind
colors: {
  custom: {
    50: '#b0bb64',
    500: '#8a9f18',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f18;
$custom-light: #b0bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f18",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 69.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66326,
    "c": 0.14916,
    "h": 119
  },
  "luminance": 0.30265
}

Semantic roles & 50–950 ramp

primary
#8A9F18
secondary
#604DC6
accent
#37F054
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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