#6FA526#6FA526

#6FA526 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.0% C 0.163 H 130.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6FA526
RGBrgb(111, 165, 38)
HSLhsl(86, 63%, 40%)
HSVhsv(86, 77%, 65%)
CMYKcmyk(32.7%, 0%, 77%, 35.3%)
CIE-LABlab(62.02, -37.13, 55.82)
CIE-LCHlch(62.02, 67.05, 123.63°)
OKLaboklab(66.01% -0.1056 0.124)
OKLCHoklch(66.01% 0.163 130.4)
XYZxyz(20.3604, 30.4290, 6.6340)
Luminance0.3043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA526 #5C26A5
analogous
#A59C26 #6FA526 #2FA526
triadic
#6FA526 #266FA5 #A5266F
tetradic
#6FA526 #26A59C #5C26A5 #A5262F
square
#6FA526 #26A59C #5C26A5 #A5262F
split-complementary
#6FA526 #262FA5 #9C26A5
monochromatic
#2C420F #4E731B #6FA526 #90D137 #ABDC69

Accessibility & contrast

On white

2.96
#6FA526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#6FA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA526
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA526#FFFFFF#000000##000000
##6FA5261.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9805
Deuteranopia (green-blind)
#A59533
Tritanopia (blue-blind)
#729E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6fa526;
/* rgb */ color: rgb(111, 165, 38);
/* oklch */ color: oklch(66.0% 0.163 130.4);
Tailwind
colors: {
  custom: {
    50: '#9dc06a',
    500: '#6fa526',
    950: '#000000',
  },
}
SCSS
$custom: #6fa526;
$custom-light: #9dc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa526",
  "rgb": {
    "r": 111,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 85.512,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66011,
    "c": 0.16285,
    "h": 130.4
  },
  "luminance": 0.3043
}

Semantic roles & 50–950 ramp

primary
#6FA526
secondary
#8C64C3
accent
#42E688
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA526

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

Preview Lab → · Contrast checker → · Palette generator →

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