#6A7F13#6A7F13

#6A7F13 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 56.0% C 0.128 H 120.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A7F13
RGBrgb(106, 127, 19)
HSLhsl(72, 74%, 29%)
HSVhsv(72, 85%, 50%)
CMYKcmyk(16.5%, 0%, 85%, 50.2%)
CIE-LABlab(49.85, -21.97, 50.38)
CIE-LCHlch(49.85, 54.96, 113.56°)
OKLaboklab(56.02% -0.0655 0.1094)
OKLCHoklch(56.02% 0.128 120.9)
XYZxyz(13.6510, 18.2900, 3.4271)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7F13 #28137F
analogous
#7F5E13 #6A7F13 #347F13
triadic
#6A7F13 #136A7F #7F136A
tetradic
#6A7F13 #137F5E #28137F #7F1334
square
#6A7F13 #137F5E #28137F #7F1334
split-complementary
#6A7F13 #13347F #5E137F
monochromatic
#161B04 #3E4A0B #6A7F13 #96B41B #BDE02D

Accessibility & contrast

On white

4.51
#6A7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6A7F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7F13
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7F13#FFFFFF#000000##000000
##6A7F131.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#70786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6a7f13;
/* rgb */ color: rgb(106, 127, 19);
/* oklch */ color: oklch(56.0% 0.128 120.9);
Tailwind
colors: {
  custom: {
    50: '#98a45d',
    500: '#6a7f13',
    950: '#000000',
  },
}
SCSS
$custom: #6a7f13;
$custom-light: #98a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7f13",
  "rgb": {
    "r": 106,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 71.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56017,
    "c": 0.12751,
    "h": 120.9
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#6A7F13
secondary
#5139B4
accent
#37F15B
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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