#6A7F11#6A7F11

#6A7F11 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#6A7F11
RGBrgb(106, 127, 17)
HSLhsl(71, 76%, 28%)
HSVhsv(71, 87%, 50%)
CMYKcmyk(16.5%, 0%, 86.6%, 50.2%)
CIE-LABlab(49.84, -22.04, 50.90)
CIE-LCHlch(49.84, 55.47, 113.42°)
OKLaboklab(56.01% -0.0658 0.1102)
OKLCHoklch(56.01% 0.128 120.9)
XYZxyz(13.6347, 18.2834, 3.3410)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7F11 #26117F
analogous
#7F5D11 #6A7F11 #337F11
triadic
#6A7F11 #116A7F #7F116A
tetradic
#6A7F11 #117F5D #26117F #7F1133
square
#6A7F11 #117F5D #26117F #7F1133
split-complementary
#6A7F11 #11337F #5D117F
monochromatic
#171B04 #3D490A #6A7F11 #97B518 #BFE228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7F11#FFFFFF#000000##000000
##6A7F111.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)
#85771E
Tritanopia (blue-blind)
#71786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6a7f11;
/* rgb */ color: rgb(106, 127, 17);
/* oklch */ color: oklch(56.0% 0.128 120.9);
Tailwind
colors: {
  custom: {
    50: '#98a45c',
    500: '#6a7f11',
    950: '#000000',
  },
}
SCSS
$custom: #6a7f11;
$custom-light: #98a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7f11",
  "rgb": {
    "r": 106,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 71.455,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.12834,
    "h": 120.9
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#6A7F11
secondary
#4F37B5
accent
#35F359
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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