#6E9227#6E9227

#6E9227 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.2% C 0.139 H 126.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6E9227
RGBrgb(110, 146, 39)
HSLhsl(80, 58%, 36%)
HSVhsv(80, 73%, 57%)
CMYKcmyk(24.7%, 0%, 73.3%, 42.7%)
CIE-LABlab(56.11, -28.68, 49.70)
CIE-LCHlch(56.11, 57.38, 119.98°)
OKLaboklab(61.19% -0.0825 0.1113)
OKLCHoklch(61.19% 0.139 126.5)
XYZxyz(17.0756, 24.0190, 5.6556)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E9227 #4B2792
analogous
#928127 #6E9227 #399227
triadic
#6E9227 #276E92 #92276E
tetradic
#6E9227 #279281 #4B2792 #922739
square
#6E9227 #279281 #4B2792 #922739
split-complementary
#6E9227 #273992 #812792
monochromatic
#25310D #4A621A #6E9227 #92C234 #ADD45F

Accessibility & contrast

On white

3.62
#6E9227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#6E9227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E9227
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E9227#FFFFFF#000000##000000
##6E92271.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8814
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#738B7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6e9227;
/* rgb */ color: rgb(110, 146, 39);
/* oklch */ color: oklch(61.2% 0.139 126.5);
Tailwind
colors: {
  custom: {
    50: '#9bb269',
    500: '#6e9227',
    950: '#000000',
  },
}
SCSS
$custom: #6e9227;
$custom-light: #9bb269;
$custom-dark: #000000;
JSON
{
  "hex": "#6e9227",
  "rgb": {
    "r": 110,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 80.187,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61188,
    "c": 0.13851,
    "h": 126.5
  },
  "luminance": 0.24019
}

Semantic roles & 50–950 ramp

primary
#6E9227
secondary
#7B5BBA
accent
#47E17B
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6E9227

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

Preview Lab → · Contrast checker → · Palette generator →

#6E9227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva