#8FA125#8FA125

#8FA125 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.3% C 0.143 H 117.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8FA125
RGBrgb(143, 161, 37)
HSLhsl(69, 63%, 39%)
HSVhsv(69, 77%, 63%)
CMYKcmyk(11.2%, 0%, 77%, 36.9%)
CIE-LABlab(62.90, -22.27, 57.72)
CIE-LCHlch(62.90, 61.86, 111.10°)
OKLaboklab(67.25% -0.067 0.1269)
OKLCHoklch(67.25% 0.143 117.8)
XYZxyz(24.4071, 31.4632, 6.5371)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA125 #3725A1
analogous
#A17525 #8FA125 #51A125
triadic
#8FA125 #258FA1 #A1258F
tetradic
#8FA125 #25A175 #3725A1 #A12551
square
#8FA125 #25A175 #3725A1 #A12551
split-complementary
#8FA125 #2551A1 #7525A1
monochromatic
#373D0E #636F1A #8FA125 #B9D033 #CADC65

Accessibility & contrast

On white

2.88
#8FA125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8FA125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA125
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA125#FFFFFF#000000##000000
##8FA1251.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9804
Deuteranopia (green-blind)
#AA9930
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa125;
/* rgb */ color: rgb(143, 161, 37);
/* oklch */ color: oklch(67.3% 0.143 117.8);
Tailwind
colors: {
  custom: {
    50: '#b3bc6a',
    500: '#8fa125',
    950: '#000000',
  },
}
SCSS
$custom: #8fa125;
$custom-light: #b3bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa125",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 68.71,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67254,
    "c": 0.14348,
    "h": 117.8
  },
  "luminance": 0.31463
}

Semantic roles & 50–950 ramp

primary
#8FA125
secondary
#6F61C1
accent
#42E65A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA125

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

Preview Lab → · Contrast checker → · Palette generator →

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