#6A9C28#6A9C28

#6A9C28 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.5% C 0.153 H 130.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6A9C28
RGBrgb(106, 156, 40)
HSLhsl(86, 59%, 38%)
HSVhsv(86, 74%, 61%)
CMYKcmyk(32.1%, 0%, 74.4%, 38.8%)
CIE-LABlab(58.97, -34.87, 52.07)
CIE-LCHlch(58.97, 62.67, 123.81°)
OKLaboklab(63.45% -0.099 0.1165)
OKLCHoklch(63.45% 0.153 130.4)
XYZxyz(18.2152, 26.9937, 6.2577)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9C28 #5A289C
analogous
#9C9428 #6A9C28 #309C28
triadic
#6A9C28 #286A9C #9C286A
tetradic
#6A9C28 #289C94 #5A289C #9C2830
square
#6A9C28 #289C94 #5A289C #9C2830
split-complementary
#6A9C28 #28309C #94289C
monochromatic
#283B0F #496B1C #6A9C28 #8BCB36 #A7D867

Accessibility & contrast

On white

3.28
#6A9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#6A9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9C28
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9C28#FFFFFF#000000##000000
##6A9C281.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#9C8D33
Tritanopia (blue-blind)
#6D9586
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a9c28;
/* rgb */ color: rgb(106, 156, 40);
/* oklch */ color: oklch(63.5% 0.153 130.4);
Tailwind
colors: {
  custom: {
    50: '#99b96a',
    500: '#6a9c28',
    950: '#000000',
  },
}
SCSS
$custom: #6a9c28;
$custom-light: #99b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9c28",
  "rgb": {
    "r": 106,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 85.862,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63452,
    "c": 0.1529,
    "h": 130.4
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#6A9C28
secondary
#8A62BE
accent
#45E289
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6A9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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