#8CB262#8CB262

#8CB262 is a light, moderate yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.116 H 129.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8CB262
RGBrgb(140, 178, 98)
HSLhsl(89, 34%, 54%)
HSVhsv(89, 45%, 70%)
CMYKcmyk(21.3%, 0%, 44.9%, 30.2%)
CIE-LABlab(68.24, -26.73, 36.67)
CIE-LCHlch(68.24, 45.37, 126.09°)
OKLaboklab(71.69% -0.0738 0.0889)
OKLCHoklch(71.69% 0.116 129.7)
XYZxyz(28.9399, 38.2976, 17.4204)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB262 #8862B2
analogous
#B2B062 #8CB262 #64B262
triadic
#8CB262 #628CB2 #B2628C
tetradic
#8CB262 #62B2B0 #8862B2 #B26264
square
#8CB262 #62B2B0 #8862B2 #B26264
split-complementary
#8CB262 #6264B2 #B062B2
monochromatic
#4E6733 #6D9047 #8CB262 #AAC68B #C8DAB4

Accessibility & contrast

On white

2.43
#8CB262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#8CB262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB262
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB262#FFFFFF#000000##000000
##8CB2621.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A85C
Deuteranopia (green-blind)
#B3A567
Tritanopia (blue-blind)
#8FAC9F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb262;
/* rgb */ color: rgb(140, 178, 98);
/* oklch */ color: oklch(71.7% 0.116 129.7);
Tailwind
colors: {
  custom: {
    50: '#afc990',
    500: '#8cb262',
    950: '#000000',
  },
}
SCSS
$custom: #8cb262;
$custom-light: #afc990;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb262",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 88.5,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71691,
    "c": 0.11555,
    "h": 129.7
  },
  "luminance": 0.38298
}

Semantic roles & 50–950 ramp

primary
#8CB262
secondary
#B7A7C9
accent
#5ECA91
background
#FAFCF8
surface
#F5F8F0
border
#CFD1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #8CB262

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

Preview Lab → · Contrast checker → · Palette generator →

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