#8CA118#8CA118

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

Color values

HEX#8CA118
RGBrgb(140, 161, 24)
HSLhsl(69, 74%, 36%)
HSVhsv(69, 85%, 63%)
CMYKcmyk(13%, 0%, 85.1%, 36.9%)
CIE-LABlab(62.62, -24.05, 61.07)
CIE-LCHlch(62.62, 65.64, 111.50°)
OKLaboklab(66.96% -0.0727 0.1319)
OKLCHoklch(66.96% 0.151 118.8)
XYZxyz(23.7255, 31.1313, 5.6231)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA118 #2D18A1
analogous
#A17218 #8CA118 #48A118
triadic
#8CA118 #188CA1 #A1188C
tetradic
#8CA118 #18A172 #2D18A1 #A11848
square
#8CA118 #18A172 #2D18A1 #A11848
split-complementary
#8CA118 #1848A1 #7218A1
monochromatic
#2F3608 #5E6C10 #8CA118 #BAD620 #CEE54F

Accessibility & contrast

On white

2.91
#8CA118 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA118#FFFFFF#000000##000000
##8CA1181.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca118;
/* rgb */ color: rgb(140, 161, 24);
/* oklch */ color: oklch(67.0% 0.151 118.8);
Tailwind
colors: {
  custom: {
    50: '#b1bc65',
    500: '#8ca118',
    950: '#000000',
  },
}
SCSS
$custom: #8ca118;
$custom-light: #b1bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca118",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 69.197,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66956,
    "c": 0.15061,
    "h": 118.8
  },
  "luminance": 0.31131
}

Semantic roles & 50–950 ramp

primary
#8CA118
secondary
#604EC7
accent
#37F154
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8CA118

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

Preview Lab → · Contrast checker → · Palette generator →

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