#6A7B16#6A7B16

#6A7B16 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 55.0% C 0.121 H 119.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A7B16
RGBrgb(106, 123, 22)
HSLhsl(70, 70%, 28%)
HSVhsv(70, 82%, 48%)
CMYKcmyk(13.8%, 0%, 82.1%, 51.8%)
CIE-LABlab(48.62, -19.79, 48.42)
CIE-LCHlch(48.62, 52.31, 112.23°)
OKLaboklab(55.03% -0.0593 0.1058)
OKLCHoklch(55.03% 0.121 119.3)
XYZxyz(13.1719, 17.2881, 3.4019)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7B16 #27167B
analogous
#7B5916 #6A7B16 #377B16
triadic
#6A7B16 #166A7B #7B166A
tetradic
#6A7B16 #167B59 #27167B #7B1637
square
#6A7B16 #167B59 #27167B #7B1637
split-complementary
#6A7B16 #16377B #59167B
monochromatic
#161A05 #3D470D #6A7B16 #97AF1F #BEDA31

Accessibility & contrast

On white

4.71
#6A7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6A7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7B16
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7B16#FFFFFF#000000##FFFFFF
##6A7B161.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#717469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a7b16;
/* rgb */ color: rgb(106, 123, 22);
/* oklch */ color: oklch(55.0% 0.121 119.3);
Tailwind
colors: {
  custom: {
    50: '#98a15d',
    500: '#6a7b16',
    950: '#000000',
  },
}
SCSS
$custom: #6a7b16;
$custom-light: #98a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7b16",
  "rgb": {
    "r": 106,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 70.099,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.12126,
    "h": 119.3
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#6A7B16
secondary
#503DB0
accent
#3BEC59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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