#8CA11F#8CA11F

#8CA11F is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.0% C 0.148 H 119.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8CA11F
RGBrgb(140, 161, 31)
HSLhsl(70, 68%, 38%)
HSVhsv(70, 81%, 63%)
CMYKcmyk(13%, 0%, 80.7%, 36.9%)
CIE-LABlab(62.65, -23.81, 59.25)
CIE-LCHlch(62.65, 63.85, 111.89°)
OKLaboklab(66.99% -0.0715 0.1292)
OKLCHoklch(66.99% 0.148 119)
XYZxyz(23.8080, 31.1643, 6.0572)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA11F #341FA1
analogous
#A1751F #8CA11F #4BA11F
triadic
#8CA11F #1F8CA1 #A11F8C
tetradic
#8CA11F #1FA175 #341FA1 #A11F4B
square
#8CA11F #1FA175 #341FA1 #A11F4B
split-complementary
#8CA11F #1F4BA1 #751FA1
monochromatic
#333A0B #5F6E15 #8CA11F #B9D429 #CADF5B

Accessibility & contrast

On white

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

On black

7.23
#8CA11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA11F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA11F#FFFFFF#000000##000000
##8CA11F1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#959889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca11f;
/* rgb */ color: rgb(140, 161, 31);
/* oklch */ color: oklch(67.0% 0.148 119.0);
Tailwind
colors: {
  custom: {
    50: '#b1bc67',
    500: '#8ca11f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca11f;
$custom-light: #b1bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca11f",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 69.692,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.14767,
    "h": 119
  },
  "luminance": 0.31164
}

Semantic roles & 50–950 ramp

primary
#8CA11F
secondary
#6A58C4
accent
#3DEB59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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