#6F9C28#6F9C28

#6F9C28 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.8% C 0.150 H 128.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6F9C28
RGBrgb(111, 156, 40)
HSLhsl(83, 59%, 38%)
HSVhsv(83, 74%, 61%)
CMYKcmyk(28.8%, 0%, 74.4%, 38.8%)
CIE-LABlab(59.26, -32.93, 52.46)
CIE-LCHlch(59.26, 61.94, 122.12°)
OKLaboklab(63.77% -0.0941 0.1172)
OKLCHoklch(63.77% 0.15 128.7)
XYZxyz(18.8270, 27.3092, 6.2863)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9C28 #55289C
analogous
#9C8F28 #6F9C28 #359C28
triadic
#6F9C28 #286F9C #9C286F
tetradic
#6F9C28 #289C8F #55289C #9C2835
square
#6F9C28 #289C8F #55289C #9C2835
split-complementary
#6F9C28 #28359C #8F289C
monochromatic
#2A3B0F #4C6B1C #6F9C28 #91CB36 #ACD867

Accessibility & contrast

On white

3.25
#6F9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#6F9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9C28
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9C28#FFFFFF#000000##000000
##6F9C281.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49111
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#739586
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6f9c28;
/* rgb */ color: rgb(111, 156, 40);
/* oklch */ color: oklch(63.8% 0.150 128.7);
Tailwind
colors: {
  custom: {
    50: '#9cb96a',
    500: '#6f9c28',
    950: '#000000',
  },
}
SCSS
$custom: #6f9c28;
$custom-light: #9cb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9c28",
  "rgb": {
    "r": 111,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 83.276,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.15028,
    "h": 128.7
  },
  "luminance": 0.2731
}

Semantic roles & 50–950 ramp

primary
#6F9C28
secondary
#8662BE
accent
#45E282
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1107
muted
#7E807A

Preview Lab

Preview with #6F9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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