#8A9F23#8A9F23

#8A9F23 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.4% C 0.144 H 119.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8A9F23
RGBrgb(138, 159, 35)
HSLhsl(70, 64%, 38%)
HSVhsv(70, 78%, 62%)
CMYKcmyk(13.2%, 0%, 78%, 37.6%)
CIE-LABlab(61.93, -23.50, 57.33)
CIE-LCHlch(61.93, 61.96, 112.29°)
OKLaboklab(66.38% -0.0703 0.1259)
OKLCHoklch(66.38% 0.144 119.2)
XYZxyz(23.1832, 30.3211, 6.2210)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F23 #38239F
analogous
#9F7623 #8A9F23 #4C9F23
triadic
#8A9F23 #238A9F #9F238A
tetradic
#8A9F23 #239F76 #38239F #9F234C
square
#8A9F23 #239F76 #38239F #9F234C
split-complementary
#8A9F23 #234C9F #76239F
monochromatic
#333B0D #5E6D18 #8A9F23 #B5D12E #C7DC60

Accessibility & contrast

On white

2.97
#8A9F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8A9F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F23
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F23#FFFFFF#000000##000000
##8A9F231.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#929688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f23;
/* rgb */ color: rgb(138, 159, 35);
/* oklch */ color: oklch(66.4% 0.144 119.2);
Tailwind
colors: {
  custom: {
    50: '#b0bb69',
    500: '#8a9f23',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f23;
$custom-light: #b0bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f23",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 70.161,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.14417,
    "h": 119.2
  },
  "luminance": 0.30321
}

Semantic roles & 50–950 ramp

primary
#8A9F23
secondary
#6E5DC1
accent
#41E75D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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