#8FA12D#8FA12D

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

Color values

HEX#8FA12D
RGBrgb(143, 161, 45)
HSLhsl(69, 56%, 40%)
HSVhsv(69, 72%, 63%)
CMYKcmyk(11.2%, 0%, 72%, 36.9%)
CIE-LABlab(62.94, -21.86, 54.96)
CIE-LCHlch(62.94, 59.15, 111.69°)
OKLaboklab(67.31% -0.0652 0.1225)
OKLCHoklch(67.31% 0.139 118)
XYZxyz(24.5467, 31.5191, 7.2728)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA12D #3F2DA1
analogous
#A1792D #8FA12D #55A12D
triadic
#8FA12D #2D8FA1 #A12D8F
tetradic
#8FA12D #2DA179 #3F2DA1 #A12D55
square
#8FA12D #2DA179 #3F2DA1 #A12D55
split-complementary
#8FA12D #2D55A1 #792DA1
monochromatic
#3A4112 #657120 #8FA12D #B5CA41 #C7D771

Accessibility & contrast

On white

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

On black

7.30
#8FA12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA12D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA12D#FFFFFF#000000##000000
##8FA12D1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa12d;
/* rgb */ color: rgb(143, 161, 45);
/* oklch */ color: oklch(67.3% 0.139 118.0);
Tailwind
colors: {
  custom: {
    50: '#b3bc6e',
    500: '#8fa12d',
    950: '#000000',
  },
}
SCSS
$custom: #8fa12d;
$custom-light: #b3bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa12d",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 69.31,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.13873,
    "h": 118
  },
  "luminance": 0.31519
}

Semantic roles & 50–950 ramp

primary
#8FA12D
secondary
#786BBF
accent
#48E060
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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