#8FA523#8FA523

#8FA523 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 68.2% C 0.149 H 119.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8FA523
RGBrgb(143, 165, 35)
HSLhsl(70, 65%, 39%)
HSVhsv(70, 79%, 65%)
CMYKcmyk(13.3%, 0%, 78.8%, 35.3%)
CIE-LABlab(64.06, -24.34, 59.41)
CIE-LCHlch(64.06, 64.21, 112.28°)
OKLaboklab(68.18% -0.0728 0.1301)
OKLCHoklch(68.18% 0.149 119.2)
XYZxyz(25.0867, 32.8714, 6.6130)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA523 #3923A5
analogous
#A57A23 #8FA523 #4EA523
triadic
#8FA523 #238FA5 #A5238F
tetradic
#8FA523 #23A57A #3923A5 #A5234E
square
#8FA523 #23A57A #3923A5 #A5234E
split-complementary
#8FA523 #234EA5 #7A23A5
monochromatic
#37400E #637318 #8FA523 #B8D332 #CADE64

Accessibility & contrast

On white

2.77
#8FA523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#8FA523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA523
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA523#FFFFFF#000000##000000
##8FA5231.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#989C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8fa523;
/* rgb */ color: rgb(143, 165, 35);
/* oklch */ color: oklch(68.2% 0.149 119.2);
Tailwind
colors: {
  custom: {
    50: '#b3bf6a',
    500: '#8fa523',
    950: '#000000',
  },
}
SCSS
$custom: #8fa523;
$custom-light: #b3bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa523",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 70.154,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68184,
    "c": 0.14914,
    "h": 119.2
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#8FA523
secondary
#7160C4
accent
#40E85C
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA523

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

Preview Lab → · Contrast checker → · Palette generator →

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