#6A951F#6A951F

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

Color values

HEX#6A951F
RGBrgb(106, 149, 31)
HSLhsl(82, 66%, 35%)
HSVhsv(82, 79%, 58%)
CMYKcmyk(28.9%, 0%, 79.2%, 41.6%)
CIE-LABlab(56.74, -32.16, 53.02)
CIE-LCHlch(56.74, 62.02, 121.24°)
OKLaboklab(61.62% -0.0923 0.1171)
OKLCHoklch(61.62% 0.149 128.3)
XYZxyz(16.9386, 24.6576, 5.1630)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A951F #4A1F95
analogous
#95851F #6A951F #2F951F
triadic
#6A951F #1F6A95 #951F6A
tetradic
#6A951F #1F9585 #4A1F95 #951F2F
square
#6A951F #1F9585 #4A1F95 #951F2F
split-complementary
#6A951F #1F2F95 #851F95
monochromatic
#22300A #466214 #6A951F #8EC82A #AADB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A951F#FFFFFF#000000##000000
##6A951F1.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)
#97872B
Tritanopia (blue-blind)
#6E8E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a951f;
/* rgb */ color: rgb(106, 149, 31);
/* oklch */ color: oklch(61.6% 0.149 128.3);
Tailwind
colors: {
  custom: {
    50: '#99b465',
    500: '#6a951f',
    950: '#000000',
  },
}
SCSS
$custom: #6a951f;
$custom-light: #99b465;
$custom-dark: #000000;
JSON
{
  "hex": "#6a951f",
  "rgb": {
    "r": 106,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 81.864,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61622,
    "c": 0.1491,
    "h": 128.3
  },
  "luminance": 0.24658
}

Semantic roles & 50–950 ramp

primary
#6A951F
secondary
#7951BF
accent
#3FE97D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A951F

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

Preview Lab → · Contrast checker → · Palette generator →

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