#8FA322#8FA322

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

Color values

HEX#8FA322
RGBrgb(143, 163, 34)
HSLhsl(69, 65%, 39%)
HSVhsv(69, 79%, 64%)
CMYKcmyk(12.3%, 0%, 79.1%, 36.1%)
CIE-LABlab(63.47, -23.39, 59.18)
CIE-LCHlch(63.47, 63.64, 111.57°)
OKLaboklab(67.71% -0.0703 0.1295)
OKLCHoklch(67.71% 0.147 118.5)
XYZxyz(24.7142, 32.1497, 6.4166)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA322 #3622A3
analogous
#A37622 #8FA322 #4EA322
triadic
#8FA322 #228FA3 #A3228F
tetradic
#8FA322 #22A376 #3622A3 #A3224E
square
#8FA322 #22A376 #3622A3 #A3224E
split-complementary
#8FA322 #224EA3 #7622A3
monochromatic
#363E0D #637017 #8FA322 #BAD42F #CBDE61

Accessibility & contrast

On white

2.83
#8FA322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8FA322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA322
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA322#FFFFFF#000000##000000
##8FA3221.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#989A8B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa322;
/* rgb */ color: rgb(143, 163, 34);
/* oklch */ color: oklch(67.7% 0.147 118.5);
Tailwind
colors: {
  custom: {
    50: '#b3be69',
    500: '#8fa322',
    950: '#000000',
  },
}
SCSS
$custom: #8fa322;
$custom-light: #b3be69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa322",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 69.302,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.14733,
    "h": 118.5
  },
  "luminance": 0.3215
}

Semantic roles & 50–950 ramp

primary
#8FA322
secondary
#6D5EC3
accent
#3FE85A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA322

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

Preview Lab → · Contrast checker → · Palette generator →

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