#6A7B17#6A7B17

#6A7B17 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#6A7B17
RGBrgb(106, 123, 23)
HSLhsl(70, 68%, 29%)
HSVhsv(70, 81%, 48%)
CMYKcmyk(13.8%, 0%, 81.3%, 51.8%)
CIE-LABlab(48.63, -19.75, 48.11)
CIE-LCHlch(48.63, 52.01, 112.32°)
OKLaboklab(55.04% -0.0591 0.1053)
OKLCHoklch(55.04% 0.121 119.3)
XYZxyz(13.1818, 17.2920, 3.4537)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7B17 #28177B
analogous
#7B5A17 #6A7B17 #387B17
triadic
#6A7B17 #176A7B #7B176A
tetradic
#6A7B17 #177B5A #28177B #7B1738
square
#6A7B17 #177B5A #28177B #7B1738
split-complementary
#6A7B17 #17387B #5A177B
monochromatic
#161A05 #3E470D #6A7B17 #96AF21 #BDD933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7B17#FFFFFF#000000##FFFFFF
##6A7B171.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)
#837400
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#717469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a7b17;
/* rgb */ color: rgb(106, 123, 23);
/* oklch */ color: oklch(55.0% 0.121 119.3);
Tailwind
colors: {
  custom: {
    50: '#98a15e',
    500: '#6a7b17',
    950: '#000000',
  },
}
SCSS
$custom: #6a7b17;
$custom-light: #98a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7b17",
  "rgb": {
    "r": 106,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 70.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55039,
    "c": 0.12075,
    "h": 119.3
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#6A7B17
secondary
#513EB0
accent
#3CEB5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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