#8CA022#8CA022

#8CA022 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.8% C 0.145 H 118.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8CA022
RGBrgb(140, 160, 34)
HSLhsl(70, 65%, 38%)
HSVhsv(70, 79%, 63%)
CMYKcmyk(12.5%, 0%, 78.8%, 37.3%)
CIE-LABlab(62.37, -23.19, 58.10)
CIE-LCHlch(62.37, 62.56, 111.76°)
OKLaboklab(66.77% -0.0696 0.1273)
OKLCHoklch(66.77% 0.145 118.7)
XYZxyz(23.6753, 30.8327, 6.2172)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA022 #3622A0
analogous
#A07522 #8CA022 #4DA022
triadic
#8CA022 #228CA0 #A0228C
tetradic
#8CA022 #22A075 #3622A0 #A0224D
square
#8CA022 #22A075 #3622A0 #A0224D
split-complementary
#8CA022 #224DA0 #7522A0
monochromatic
#343B0D #606E17 #8CA022 #B8D22D #C9DD5F

Accessibility & contrast

On white

2.93
#8CA022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#8CA022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA022
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA022#FFFFFF#000000##000000
##8CA0221.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#959789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca022;
/* rgb */ color: rgb(140, 160, 34);
/* oklch */ color: oklch(66.8% 0.145 118.7);
Tailwind
colors: {
  custom: {
    50: '#b1bc69',
    500: '#8ca022',
    950: '#000000',
  },
}
SCSS
$custom: #8ca022;
$custom-light: #b1bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca022",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 69.524,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66766,
    "c": 0.14506,
    "h": 118.7
  },
  "luminance": 0.30833
}

Semantic roles & 50–950 ramp

primary
#8CA022
secondary
#6C5CC2
accent
#40E85B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA022

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

Preview Lab → · Contrast checker → · Palette generator →

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