#8FA328#8FA328

#8FA328 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.7% C 0.144 H 118.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8FA328
RGBrgb(143, 163, 40)
HSLhsl(70, 61%, 40%)
HSVhsv(70, 75%, 64%)
CMYKcmyk(12.3%, 0%, 75.5%, 36.1%)
CIE-LABlab(63.50, -23.12, 57.28)
CIE-LCHlch(63.50, 61.77, 111.98°)
OKLaboklab(67.74% -0.0691 0.1265)
OKLCHoklch(67.74% 0.144 118.6)
XYZxyz(24.8084, 32.1874, 6.9129)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA328 #3C28A3
analogous
#A37928 #8FA328 #52A328
triadic
#8FA328 #288FA3 #A3288F
tetradic
#8FA328 #28A379 #3C28A3 #A32852
square
#8FA328 #28A379 #3C28A3 #A32852
split-complementary
#8FA328 #2852A3 #7928A3
monochromatic
#394110 #64721C #8FA328 #B6CF3A #C8DB6B

Accessibility & contrast

On white

2.82
#8FA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8FA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA328
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA328#FFFFFF#000000##000000
##8FA3281.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0C
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#989A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa328;
/* rgb */ color: rgb(143, 163, 40);
/* oklch */ color: oklch(67.7% 0.144 118.6);
Tailwind
colors: {
  custom: {
    50: '#b3be6c',
    500: '#8fa328',
    950: '#000000',
  },
}
SCSS
$custom: #8fa328;
$custom-light: #b3be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa328",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 69.756,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67742,
    "c": 0.14413,
    "h": 118.6
  },
  "luminance": 0.32187
}

Semantic roles & 50–950 ramp

primary
#8FA328
secondary
#7566C1
accent
#44E45E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA328

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

Preview Lab → · Contrast checker → · Palette generator →

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