#6A8F15#6A8F15

#6A8F15 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.1% C 0.146 H 126.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6A8F15
RGBrgb(106, 143, 21)
HSLhsl(78, 74%, 32%)
HSVhsv(78, 85%, 56%)
CMYKcmyk(25.9%, 0%, 85.3%, 43.9%)
CIE-LABlab(54.83, -29.78, 54.19)
CIE-LCHlch(54.83, 61.84, 118.79°)
OKLaboklab(60.05% -0.0866 0.1179)
OKLCHoklch(60.05% 0.146 126.3)
XYZxyz(15.9018, 22.7630, 4.2652)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8F15 #3A158F
analogous
#8F7715 #6A8F15 #2D8F15
triadic
#6A8F15 #156A8F #8F156A
tetradic
#6A8F15 #158F77 #3A158F #8F152D
square
#6A8F15 #158F77 #3A158F #8F152D
split-complementary
#6A8F15 #152D8F #77158F
monochromatic
#1B2405 #425A0D #6A8F15 #92C41D #B0E23C

Accessibility & contrast

On white

3.78
#6A8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#6A8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8F15
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8F15#FFFFFF#000000##000000
##6A8F151.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#6F8879
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6a8f15;
/* rgb */ color: rgb(106, 143, 21);
/* oklch */ color: oklch(60.1% 0.146 126.3);
Tailwind
colors: {
  custom: {
    50: '#99b060',
    500: '#6a8f15',
    950: '#000000',
  },
}
SCSS
$custom: #6a8f15;
$custom-light: #99b060;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8f15",
  "rgb": {
    "r": 106,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 78.197,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.14626,
    "h": 126.3
  },
  "luminance": 0.22763
}

Semantic roles & 50–950 ramp

primary
#6A8F15
secondary
#663EC2
accent
#37F16F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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