#8FA037#8FA037

#8FA037 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.2% C 0.130 H 117.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8FA037
RGBrgb(143, 160, 55)
HSLhsl(70, 49%, 42%)
HSVhsv(70, 66%, 63%)
CMYKcmyk(10.6%, 0%, 65.6%, 37.3%)
CIE-LABlab(62.72, -20.74, 50.75)
CIE-LCHlch(62.72, 54.83, 112.22°)
OKLaboklab(67.15% -0.061 0.1152)
OKLCHoklch(67.15% 0.13 117.9)
XYZxyz(24.5886, 31.2573, 8.3516)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA037 #4837A0
analogous
#A07C37 #8FA037 #5BA037
triadic
#8FA037 #378FA0 #A0378F
tetradic
#8FA037 #37A07C #4837A0 #A0375B
square
#8FA037 #37A07C #4837A0 #A0375B
split-complementary
#8FA037 #375BA0 #7C37A0
monochromatic
#3E4518 #667227 #8FA037 #B1C351 #C5D37F

Accessibility & contrast

On white

2.90
#8FA037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#8FA037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA037
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA037#FFFFFF#000000##000000
##8FA0371.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9729
Deuteranopia (green-blind)
#A9983E
Tritanopia (blue-blind)
#97978A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa037;
/* rgb */ color: rgb(143, 160, 55);
/* oklch */ color: oklch(67.2% 0.130 117.9);
Tailwind
colors: {
  custom: {
    50: '#b2bc73',
    500: '#8fa037',
    950: '#000000',
  },
}
SCSS
$custom: #8fa037;
$custom-light: #b2bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa037",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 69.714,
    "s": 48.837,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.13039,
    "h": 117.9
  },
  "luminance": 0.31257
}

Semantic roles & 50–950 ramp

primary
#8FA037
secondary
#8277BC
accent
#4FD866
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA037

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

Preview Lab → · Contrast checker → · Palette generator →

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