#6FA226#6FA226

#6FA226 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.3% C 0.159 H 129.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6FA226
RGBrgb(111, 162, 38)
HSLhsl(85, 62%, 39%)
HSVhsv(85, 77%, 64%)
CMYKcmyk(31.5%, 0%, 76.5%, 36.5%)
CIE-LABlab(61.10, -35.79, 54.94)
CIE-LCHlch(61.10, 65.57, 123.08°)
OKLaboklab(65.26% -0.102 0.1221)
OKLCHoklch(65.26% 0.159 129.9)
XYZxyz(19.8256, 29.3595, 6.4557)
Luminance0.2936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA226 #5926A2
analogous
#A29726 #6FA226 #31A226
triadic
#6FA226 #266FA2 #A2266F
tetradic
#6FA226 #26A297 #5926A2 #A22631
square
#6FA226 #26A297 #5926A2 #A22631
split-complementary
#6FA226 #2631A2 #9726A2
monochromatic
#2B3F0F #4D701A #6FA226 #90D035 #ACDB67

Accessibility & contrast

On white

3.06
#6FA226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#6FA226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6FA226
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA226#FFFFFF#000000##000000
##6FA2261.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9608
Deuteranopia (green-blind)
#A39232
Tritanopia (blue-blind)
#729B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6fa226;
/* rgb */ color: rgb(111, 162, 38);
/* oklch */ color: oklch(65.3% 0.159 129.9);
Tailwind
colors: {
  custom: {
    50: '#9dbe6a',
    500: '#6fa226',
    950: '#000000',
  },
}
SCSS
$custom: #6fa226;
$custom-light: #9dbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa226",
  "rgb": {
    "r": 111,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 84.677,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65257,
    "c": 0.15908,
    "h": 129.9
  },
  "luminance": 0.2936
}

Semantic roles & 50–950 ramp

primary
#6FA226
secondary
#8963C1
accent
#43E585
background
#FAFBF6
surface
#F3F6EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA226

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

Preview Lab → · Contrast checker → · Palette generator →

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