#6A8A30#6A8A30

#6A8A30 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.123 H 126.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6A8A30
RGBrgb(106, 138, 48)
HSLhsl(81, 48%, 36%)
HSVhsv(81, 65%, 54%)
CMYKcmyk(23.2%, 0%, 65.2%, 45.9%)
CIE-LABlab(53.44, -25.77, 43.13)
CIE-LCHlch(53.44, 50.24, 120.85°)
OKLaboklab(58.99% -0.0734 0.0989)
OKLCHoklch(58.99% 0.123 126.6)
XYZxyz(15.5659, 21.4543, 6.1167)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A30 #50308A
analogous
#8A7D30 #6A8A30 #3D8A30
triadic
#6A8A30 #306A8A #8A306A
tetradic
#6A8A30 #308A7D #50308A #8A303D
square
#6A8A30 #308A7D #50308A #8A303D
split-complementary
#6A8A30 #303D8A #7D308A
monochromatic
#242F10 #475D20 #6A8A30 #8DB740 #A8CB69

Accessibility & contrast

On white

3.97
#6A8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6A8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A30
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A30#FFFFFF#000000##000000
##6A8A301.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#6E8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a8a30;
/* rgb */ color: rgb(106, 138, 48);
/* oklch */ color: oklch(59.0% 0.123 126.6);
Tailwind
colors: {
  custom: {
    50: '#97ac6d',
    500: '#6a8a30',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a30;
$custom-light: #97ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a30",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 81.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.12316,
    "h": 126.6
  },
  "luminance": 0.21455
}

Semantic roles & 50–950 ramp

primary
#6A8A30
secondary
#8064B2
accent
#50D880
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6A8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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