#6A9E1F#6A9E1F

#6A9E1F is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.9% C 0.160 H 130.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6A9E1F
RGBrgb(106, 158, 31)
HSLhsl(85, 67%, 37%)
HSVhsv(85, 80%, 62%)
CMYKcmyk(32.9%, 0%, 80.4%, 38%)
CIE-LABlab(59.54, -36.27, 55.62)
CIE-LCHlch(59.54, 66.40, 123.11°)
OKLaboklab(63.9% -0.1035 0.1225)
OKLCHoklch(63.9% 0.16 130.2)
XYZxyz(18.4180, 27.6162, 5.6561)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9E1F #531F9E
analogous
#9E931F #6A9E1F #2A9E1F
triadic
#6A9E1F #1F6A9E #9E1F6A
tetradic
#6A9E1F #1F9E93 #531F9E #9E1F2A
square
#6A9E1F #1F9E93 #531F9E #9E1F2A
split-complementary
#6A9E1F #1F2A9E #931F9E
monochromatic
#25380B #486B15 #6A9E1F #8CD129 #A8DE59

Accessibility & contrast

On white

3.22
#6A9E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#6A9E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9E1F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9E1F#FFFFFF#000000##000000
##6A9E1F1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#6D9787
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6a9e1f;
/* rgb */ color: rgb(106, 158, 31);
/* oklch */ color: oklch(63.9% 0.160 130.2);
Tailwind
colors: {
  custom: {
    50: '#99bb66',
    500: '#6a9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #6a9e1f;
$custom-light: #99bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9e1f",
  "rgb": {
    "r": 106,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 84.567,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63902,
    "c": 0.16037,
    "h": 130.2
  },
  "luminance": 0.27617
}

Semantic roles & 50–950 ramp

primary
#6A9E1F
secondary
#8356C2
accent
#3EEA84
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #6A9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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