#6FA838#6FA838

#6FA838 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.9% C 0.155 H 132.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6FA838
RGBrgb(111, 168, 56)
HSLhsl(91, 50%, 44%)
HSVhsv(91, 67%, 66%)
CMYKcmyk(33.9%, 0%, 66.7%, 34.1%)
CIE-LABlab(63.07, -37.24, 50.08)
CIE-LCHlch(63.07, 62.41, 126.64°)
OKLaboklab(66.9% -0.1045 0.1145)
OKLCHoklch(66.9% 0.155 132.4)
XYZxyz(21.2717, 31.6695, 8.7327)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA838 #7138A8
analogous
#A7A838 #6FA838 #38A839
triadic
#6FA838 #386FA8 #A8386F
tetradic
#6FA838 #38A7A8 #7138A8 #A83938
square
#6FA838 #38A7A8 #7138A8 #A83938
split-complementary
#6FA838 #3938A8 #A838A7
monochromatic
#324C19 #517A29 #6FA838 #8EC756 #ACD684

Accessibility & contrast

On white

2.86
#6FA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#6FA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA838
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA838#FFFFFF#000000##000000
##6FA8381.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B29
Deuteranopia (green-blind)
#A79741
Tritanopia (blue-blind)
#70A191
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #6fa838;
/* rgb */ color: rgb(111, 168, 56);
/* oklch */ color: oklch(66.9% 0.155 132.4);
Tailwind
colors: {
  custom: {
    50: '#9cc274',
    500: '#6fa838',
    950: '#000000',
  },
}
SCSS
$custom: #6fa838;
$custom-light: #9cc274;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa838",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 90.536,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66903,
    "c": 0.15505,
    "h": 132.4
  },
  "luminance": 0.3167
}

Semantic roles & 50–950 ramp

primary
#6FA838
secondary
#9F7CC0
accent
#4EDA95
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0F1209
muted
#7E817B

Preview Lab

Preview with #6FA838

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

Preview Lab → · Contrast checker → · Palette generator →

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