#6A7F10#6A7F10

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

Color values

HEX#6A7F10
RGBrgb(106, 127, 16)
HSLhsl(71, 78%, 28%)
HSVhsv(71, 87%, 50%)
CMYKcmyk(16.5%, 0%, 87.4%, 50.2%)
CIE-LABlab(49.83, -22.08, 51.15)
CIE-LCHlch(49.83, 55.71, 113.35°)
OKLaboklab(56% -0.066 0.1106)
OKLCHoklch(56% 0.129 120.8)
XYZxyz(13.6270, 18.2803, 3.3007)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7F10 #25107F
analogous
#7F5C10 #6A7F10 #337F10
triadic
#6A7F10 #106A7F #7F106A
tetradic
#6A7F10 #107F5C #25107F #7F1033
square
#6A7F10 #107F5C #25107F #7F1033
split-complementary
#6A7F10 #10337F #5C107F
monochromatic
#171B03 #3D4909 #6A7F10 #97B517 #C0E426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7F10#FFFFFF#000000##000000
##6A7F101.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)
#887700
Deuteranopia (green-blind)
#85771D
Tritanopia (blue-blind)
#71786C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a7f10;
/* rgb */ color: rgb(106, 127, 16);
/* oklch */ color: oklch(56.0% 0.129 120.8);
Tailwind
colors: {
  custom: {
    50: '#98a45c',
    500: '#6a7f10',
    950: '#000000',
  },
}
SCSS
$custom: #6a7f10;
$custom-light: #98a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7f10",
  "rgb": {
    "r": 106,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 71.351,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.12874,
    "h": 120.8
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#6A7F10
secondary
#4E36B5
accent
#34F458
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F04
muted
#7E7F79

Preview Lab

Preview with #6A7F10

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

Preview Lab → · Contrast checker → · Palette generator →

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