#6A9C2B#6A9C2B

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

Color values

HEX#6A9C2B
RGBrgb(106, 156, 43)
HSLhsl(87, 57%, 39%)
HSVhsv(87, 72%, 61%)
CMYKcmyk(32.1%, 0%, 72.4%, 38.8%)
CIE-LABlab(58.99, -34.67, 50.98)
CIE-LCHlch(58.99, 61.65, 124.22°)
OKLaboklab(63.47% -0.0982 0.1147)
OKLCHoklch(63.47% 0.151 130.6)
XYZxyz(18.2682, 27.0149, 6.5369)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9C2B #5D2B9C
analogous
#9C962B #6A9C2B #319C2B
triadic
#6A9C2B #2B6A9C #9C2B6A
tetradic
#6A9C2B #2B9C96 #5D2B9C #9C2B31
square
#6A9C2B #2B9C96 #5D2B9C #9C2B31
split-complementary
#6A9C2B #2B319C #962B9C
monochromatic
#293C11 #496C1E #6A9C2B #8AC93B #A7D66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A9C2B#FFFFFF#000000##000000
##6A9C2B1.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)
#A39018
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#6C9586
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a9c2b;
/* rgb */ color: rgb(106, 156, 43);
/* oklch */ color: oklch(63.5% 0.151 130.6);
Tailwind
colors: {
  custom: {
    50: '#99b96c',
    500: '#6a9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #6a9c2b;
$custom-light: #99b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9c2b",
  "rgb": {
    "r": 106,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 86.549,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63474,
    "c": 0.15101,
    "h": 130.6
  },
  "luminance": 0.27016
}

Semantic roles & 50–950 ramp

primary
#6A9C2B
secondary
#8C66BD
accent
#48E08B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6A9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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