#6A7C16#6A7C16

#6A7C16 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.3% C 0.122 H 119.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A7C16
RGBrgb(106, 124, 22)
HSLhsl(71, 70%, 29%)
HSVhsv(71, 82%, 49%)
CMYKcmyk(14.5%, 0%, 82.3%, 51.4%)
CIE-LABlab(48.93, -20.31, 48.70)
CIE-LCHlch(48.93, 52.77, 112.64°)
OKLaboklab(55.28% -0.0607 0.1064)
OKLCHoklch(55.28% 0.122 119.7)
XYZxyz(13.2966, 17.5375, 3.4435)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7C16 #28167C
analogous
#7C5B16 #6A7C16 #377C16
triadic
#6A7C16 #166A7C #7C166A
tetradic
#6A7C16 #167C5B #28167C #7C1637
square
#6A7C16 #167C5B #28167C #7C1637
split-complementary
#6A7C16 #16377C #5B167C
monochromatic
#161A05 #3E480D #6A7C16 #96B01F #BDDB32

Accessibility & contrast

On white

4.66
#6A7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6A7C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7C16
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7C16#FFFFFF#000000##FFFFFF
##6A7C161.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#717569
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a7c16;
/* rgb */ color: rgb(106, 124, 22);
/* oklch */ color: oklch(55.3% 0.122 119.7);
Tailwind
colors: {
  custom: {
    50: '#98a15e',
    500: '#6a7c16',
    950: '#000000',
  },
}
SCSS
$custom: #6a7c16;
$custom-light: #98a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7c16",
  "rgb": {
    "r": 106,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 70.588,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.12248,
    "h": 119.7
  },
  "luminance": 0.17537
}

Semantic roles & 50–950 ramp

primary
#6A7C16
secondary
#513DB1
accent
#3BED5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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