#8CA122#8CA122

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

Color values

HEX#8CA122
RGBrgb(140, 161, 34)
HSLhsl(70, 65%, 38%)
HSVhsv(70, 79%, 63%)
CMYKcmyk(13%, 0%, 78.9%, 36.9%)
CIE-LABlab(62.66, -23.68, 58.37)
CIE-LCHlch(62.66, 62.99, 112.09°)
OKLaboklab(67% -0.071 0.1279)
OKLCHoklch(67% 0.146 119)
XYZxyz(23.8493, 31.1808, 6.2752)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA122 #3722A1
analogous
#A17622 #8CA122 #4DA122
triadic
#8CA122 #228CA1 #A1228C
tetradic
#8CA122 #22A176 #3722A1 #A1224D
square
#8CA122 #22A176 #3722A1 #A1224D
split-complementary
#8CA122 #224DA1 #7622A1
monochromatic
#343C0D #606E17 #8CA122 #B7D32D #C9DD60

Accessibility & contrast

On white

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

On black

7.24
#8CA122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA122
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA122#FFFFFF#000000##000000
##8CA1221.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#95988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ca122;
/* rgb */ color: rgb(140, 161, 34);
/* oklch */ color: oklch(67.0% 0.146 119.0);
Tailwind
colors: {
  custom: {
    50: '#b1bc69',
    500: '#8ca122',
    950: '#000000',
  },
}
SCSS
$custom: #8ca122;
$custom-light: #b1bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca122",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 69.921,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67002,
    "c": 0.14622,
    "h": 119
  },
  "luminance": 0.31181
}

Semantic roles & 50–950 ramp

primary
#8CA122
secondary
#6D5DC2
accent
#40E85C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA122

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

Preview Lab → · Contrast checker → · Palette generator →

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