#8FA325#8FA325

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

Color values

HEX#8FA325
RGBrgb(143, 163, 37)
HSLhsl(70, 63%, 39%)
HSVhsv(70, 77%, 64%)
CMYKcmyk(12.3%, 0%, 77.3%, 36.1%)
CIE-LABlab(63.48, -23.26, 58.26)
CIE-LCHlch(63.48, 62.73, 111.77°)
OKLaboklab(67.72% -0.0697 0.128)
OKLCHoklch(67.72% 0.146 118.6)
XYZxyz(24.7594, 32.1678, 6.6546)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA325 #3925A3
analogous
#A37825 #8FA325 #50A325
triadic
#8FA325 #258FA3 #A3258F
tetradic
#8FA325 #25A378 #3925A3 #A32550
square
#8FA325 #25A378 #3925A3 #A32550
split-complementary
#8FA325 #2550A3 #7825A3
monochromatic
#373F0E #63711A #8FA325 #B8D134 #CADC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA325#FFFFFF#000000##000000
##8FA3251.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)
#AE9A03
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#989A8B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa325;
/* rgb */ color: rgb(143, 163, 37);
/* oklch */ color: oklch(67.7% 0.146 118.6);
Tailwind
colors: {
  custom: {
    50: '#b3be6a',
    500: '#8fa325',
    950: '#000000',
  },
}
SCSS
$custom: #8fa325;
$custom-light: #b3be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa325",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 69.524,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67724,
    "c": 0.1458,
    "h": 118.6
  },
  "luminance": 0.32168
}

Semantic roles & 50–950 ramp

primary
#8FA325
secondary
#7162C2
accent
#42E65C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA325

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

Preview Lab → · Contrast checker → · Palette generator →

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