#6A9F1F#6A9F1F

#6A9F1F is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.2% C 0.162 H 130.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6A9F1F
RGBrgb(106, 159, 31)
HSLhsl(85, 67%, 37%)
HSVhsv(85, 81%, 62%)
CMYKcmyk(33.3%, 0%, 80.5%, 37.6%)
CIE-LABlab(59.85, -36.71, 55.90)
CIE-LCHlch(59.85, 66.88, 123.29°)
OKLaboklab(64.16% -0.1047 0.1231)
OKLCHoklch(64.16% 0.162 130.4)
XYZxyz(18.5892, 27.9587, 5.7132)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9F1F #541F9F
analogous
#9F941F #6A9F1F #2A9F1F
triadic
#6A9F1F #1F6A9F #9F1F6A
tetradic
#6A9F1F #1F9F94 #541F9F #9F1F2A
square
#6A9F1F #1F9F94 #541F9F #9F1F2A
split-complementary
#6A9F1F #1F2A9F #941F9F
monochromatic
#26390B #486C15 #6A9F1F #8CD229 #A8DF5A

Accessibility & contrast

On white

3.19
#6A9F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#6A9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9F1F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9F1F#FFFFFF#000000##000000
##6A9F1F1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#6D9888
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #6a9f1f;
/* rgb */ color: rgb(106, 159, 31);
/* oklch */ color: oklch(64.2% 0.162 130.4);
Tailwind
colors: {
  custom: {
    50: '#99bb67',
    500: '#6a9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #6a9f1f;
$custom-light: #99bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9f1f",
  "rgb": {
    "r": 106,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 84.844,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.1616,
    "h": 130.4
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#6A9F1F
secondary
#8457C3
accent
#3EEA85
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #6A9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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