#6FA826#6FA826

#6FA826 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.8% C 0.167 H 131.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6FA826
RGBrgb(111, 168, 38)
HSLhsl(86, 63%, 40%)
HSVhsv(86, 77%, 66%)
CMYKcmyk(33.9%, 0%, 77.4%, 34.1%)
CIE-LABlab(62.95, -38.46, 56.70)
CIE-LCHlch(62.95, 68.52, 124.15°)
OKLaboklab(66.77% -0.1092 0.1258)
OKLCHoklch(66.77% 0.167 131)
XYZxyz(20.9079, 31.5240, 6.8165)
Luminance0.3152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA826 #5F26A8
analogous
#A8A026 #6FA826 #2EA826
triadic
#6FA826 #266FA8 #A8266F
tetradic
#6FA826 #26A8A0 #5F26A8 #A8262E
square
#6FA826 #26A8A0 #5F26A8 #A8262E
split-complementary
#6FA826 #262EA8 #A026A8
monochromatic
#2D440F #4E761B #6FA826 #8FD239 #ABDE6B

Accessibility & contrast

On white

2.87
#6FA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#6FA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA826
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA826#FFFFFF#000000##000000
##6FA8261.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B03
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#71A190
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa826;
/* rgb */ color: rgb(111, 168, 38);
/* oklch */ color: oklch(66.8% 0.167 131.0);
Tailwind
colors: {
  custom: {
    50: '#9dc26b',
    500: '#6fa826',
    950: '#000000',
  },
}
SCSS
$custom: #6fa826;
$custom-light: #9dc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa826",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 86.308,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.1666,
    "h": 131
  },
  "luminance": 0.31525
}

Semantic roles & 50–950 ramp

primary
#6FA826
secondary
#8F66C4
accent
#42E68A
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA826

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

Preview Lab → · Contrast checker → · Palette generator →

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