#6F9728#6F9728

#6F9728 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.5% C 0.144 H 127.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6F9728
RGBrgb(111, 151, 40)
HSLhsl(82, 58%, 37%)
HSVhsv(82, 74%, 59%)
CMYKcmyk(26.5%, 0%, 73.5%, 40.8%)
CIE-LABlab(57.72, -30.59, 50.94)
CIE-LCHlch(57.72, 59.42, 120.99°)
OKLaboklab(62.51% -0.0877 0.114)
OKLCHoklch(62.51% 0.144 127.6)
XYZxyz(18.0052, 25.6656, 6.0124)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9728 #502897
analogous
#978828 #6F9728 #379728
triadic
#6F9728 #286F97 #97286F
tetradic
#6F9728 #289788 #502897 #972837
square
#6F9728 #289788 #502897 #972837
split-complementary
#6F9728 #283797 #882897
monochromatic
#28360E #4B671B #6F9728 #93C735 #ADD664

Accessibility & contrast

On white

3.42
#6F9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#6F9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9728
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9728#FFFFFF#000000##000000
##6F97281.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C14
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#739081
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6f9728;
/* rgb */ color: rgb(111, 151, 40);
/* oklch */ color: oklch(62.5% 0.144 127.6);
Tailwind
colors: {
  custom: {
    50: '#9cb56a',
    500: '#6f9728',
    950: '#000000',
  },
}
SCSS
$custom: #6f9728;
$custom-light: #9cb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9728",
  "rgb": {
    "r": 111,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 81.622,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62513,
    "c": 0.14384,
    "h": 127.6
  },
  "luminance": 0.25666
}

Semantic roles & 50–950 ramp

primary
#6F9728
secondary
#805FBC
accent
#46E17E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1107
muted
#7E807A

Preview Lab

Preview with #6F9728

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

Preview Lab → · Contrast checker → · Palette generator →

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