#6A8D2F#6A8D2F

#6A8D2F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.128 H 127.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6A8D2F
RGBrgb(106, 141, 47)
HSLhsl(82, 50%, 37%)
HSVhsv(82, 67%, 55%)
CMYKcmyk(24.8%, 0%, 66.7%, 44.7%)
CIE-LABlab(54.36, -27.32, 44.56)
CIE-LCHlch(54.36, 52.27, 121.51°)
OKLaboklab(59.73% -0.0778 0.1018)
OKLCHoklch(59.73% 0.128 127.4)
XYZxyz(15.9818, 22.3189, 6.1547)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D2F #522F8D
analogous
#8D812F #6A8D2F #3B8D2F
triadic
#6A8D2F #2F6A8D #8D2F6A
tetradic
#6A8D2F #2F8D81 #522F8D #8D2F3B
square
#6A8D2F #2F8D81 #522F8D #8D2F3B
split-complementary
#6A8D2F #2F3B8D #812F8D
monochromatic
#253110 #475F20 #6A8D2F #8DBB3E #A8CD69

Accessibility & contrast

On white

3.84
#6A8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6A8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D2F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D2F#FFFFFF#000000##000000
##6A8D2F1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#6E877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d2f;
/* rgb */ color: rgb(106, 141, 47);
/* oklch */ color: oklch(59.7% 0.128 127.4);
Tailwind
colors: {
  custom: {
    50: '#97ae6c',
    500: '#6a8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d2f;
$custom-light: #97ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d2f",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 82.34,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.1281,
    "h": 127.4
  },
  "luminance": 0.22319
}

Semantic roles & 50–950 ramp

primary
#6A8D2F
secondary
#8264B4
accent
#4EDA82
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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