#8FA423#8FA423

#8FA423 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 67.9% C 0.148 H 118.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8FA423
RGBrgb(143, 164, 35)
HSLhsl(70, 65%, 39%)
HSVhsv(70, 79%, 64%)
CMYKcmyk(12.8%, 0%, 78.7%, 35.7%)
CIE-LABlab(63.76, -23.85, 59.15)
CIE-LCHlch(63.76, 63.77, 111.96°)
OKLaboklab(67.95% -0.0715 0.1296)
OKLCHoklch(67.95% 0.148 118.9)
XYZxyz(24.9071, 32.5121, 6.5531)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA423 #3823A4
analogous
#A47923 #8FA423 #4FA423
triadic
#8FA423 #238FA4 #A4238F
tetradic
#8FA423 #23A479 #3823A4 #A4234F
square
#8FA423 #23A479 #3823A4 #A4234F
split-complementary
#8FA423 #234FA4 #7923A4
monochromatic
#373F0D #637218 #8FA423 #B9D331 #CADE64

Accessibility & contrast

On white

2.80
#8FA423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8FA423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA423
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA423#FFFFFF#000000##000000
##8FA4231.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#989B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa423;
/* rgb */ color: rgb(143, 164, 35);
/* oklch */ color: oklch(67.9% 0.148 118.9);
Tailwind
colors: {
  custom: {
    50: '#b3be6a',
    500: '#8fa423',
    950: '#000000',
  },
}
SCSS
$custom: #8fa423;
$custom-light: #b3be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa423",
  "rgb": {
    "r": 143,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 69.767,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67948,
    "c": 0.14798,
    "h": 118.9
  },
  "luminance": 0.32512
}

Semantic roles & 50–950 ramp

primary
#8FA423
secondary
#7060C3
accent
#40E85B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA423

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

Preview Lab → · Contrast checker → · Palette generator →

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