#6A951C#6A951C

#6A951C is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.6% C 0.151 H 128.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6A951C
RGBrgb(106, 149, 28)
HSLhsl(81, 68%, 35%)
HSVhsv(81, 81%, 58%)
CMYKcmyk(28.9%, 0%, 81.2%, 41.6%)
CIE-LABlab(56.73, -32.31, 53.94)
CIE-LCHlch(56.73, 62.87, 120.92°)
OKLaboklab(61.61% -0.093 0.1185)
OKLCHoklch(61.61% 0.151 128.1)
XYZxyz(16.9009, 24.6425, 4.9644)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A951C #471C95
analogous
#95841C #6A951C #2E951C
triadic
#6A951C #1C6A95 #951C6A
tetradic
#6A951C #1C9584 #471C95 #951C2E
square
#6A951C #1C9584 #471C95 #951C2E
split-complementary
#6A951C #1C2E95 #841C95
monochromatic
#212E09 #456112 #6A951C #8FC926 #ABDE4E

Accessibility & contrast

On white

3.54
#6A951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#6A951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A951C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A951C#FFFFFF#000000##000000
##6A951C1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#6E8E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a951c;
/* rgb */ color: rgb(106, 149, 28);
/* oklch */ color: oklch(61.6% 0.151 128.1);
Tailwind
colors: {
  custom: {
    50: '#99b464',
    500: '#6a951c',
    950: '#000000',
  },
}
SCSS
$custom: #6a951c;
$custom-light: #99b464;
$custom-dark: #000000;
JSON
{
  "hex": "#6a951c",
  "rgb": {
    "r": 106,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 81.322,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61605,
    "c": 0.1506,
    "h": 128.1
  },
  "luminance": 0.24643
}

Semantic roles & 50–950 ramp

primary
#6A951C
secondary
#764DC0
accent
#3DEB7B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A951C

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

Preview Lab → · Contrast checker → · Palette generator →

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