#8FA327#8FA327

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

Color values

HEX#8FA327
RGBrgb(143, 163, 39)
HSLhsl(70, 61%, 40%)
HSVhsv(70, 76%, 64%)
CMYKcmyk(12.3%, 0%, 76.1%, 36.1%)
CIE-LABlab(63.49, -23.17, 57.61)
CIE-LCHlch(63.49, 62.10, 111.91°)
OKLaboklab(67.74% -0.0693 0.127)
OKLCHoklch(67.74% 0.145 118.6)
XYZxyz(24.7916, 32.1807, 6.8245)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA327 #3B27A3
analogous
#A37927 #8FA327 #51A327
triadic
#8FA327 #278FA3 #A3278F
tetradic
#8FA327 #27A379 #3B27A3 #A32751
square
#8FA327 #27A379 #3B27A3 #A32751
split-complementary
#8FA327 #2751A3 #7927A3
monochromatic
#38400F #64721B #8FA327 #B7CF38 #C9DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA327#FFFFFF#000000##000000
##8FA3271.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)
#AE9A09
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#989A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa327;
/* rgb */ color: rgb(143, 163, 39);
/* oklch */ color: oklch(67.7% 0.145 118.6);
Tailwind
colors: {
  custom: {
    50: '#b3be6b',
    500: '#8fa327',
    950: '#000000',
  },
}
SCSS
$custom: #8fa327;
$custom-light: #b3be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa327",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 69.677,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67736,
    "c": 0.1447,
    "h": 118.6
  },
  "luminance": 0.32181
}

Semantic roles & 50–950 ramp

primary
#8FA327
secondary
#7364C1
accent
#43E45D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA327

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

Preview Lab → · Contrast checker → · Palette generator →

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