#6A7E1C#6A7E1C

#6A7E1C is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.8% C 0.122 H 120.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6A7E1C
RGBrgb(106, 126, 28)
HSLhsl(72, 64%, 30%)
HSVhsv(72, 78%, 49%)
CMYKcmyk(15.9%, 0%, 77.8%, 50.6%)
CIE-LABlab(49.58, -21.06, 47.32)
CIE-LCHlch(49.58, 51.79, 113.99°)
OKLaboklab(55.82% -0.0623 0.1045)
OKLCHoklch(55.82% 0.122 120.8)
XYZxyz(13.6146, 18.0697, 3.8690)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7E1C #301C7E
analogous
#7E611C #6A7E1C #397E1C
triadic
#6A7E1C #1C6A7E #7E1C6A
tetradic
#6A7E1C #1C7E61 #301C7E #7E1C39
square
#6A7E1C #1C7E61 #301C7E #7E1C39
split-complementary
#6A7E1C #1C397E #611C7E
monochromatic
#161A06 #404C11 #6A7E1C #94B027 #B6D540

Accessibility & contrast

On white

4.55
#6A7E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#6A7E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A7E1C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7E1C#FFFFFF#000000##000000
##6A7E1C1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#70776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a7e1c;
/* rgb */ color: rgb(106, 126, 28);
/* oklch */ color: oklch(55.8% 0.122 120.8);
Tailwind
colors: {
  custom: {
    50: '#98a361',
    500: '#6a7e1c',
    950: '#000000',
  },
}
SCSS
$custom: #6a7e1c;
$custom-light: #98a361;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7e1c",
  "rgb": {
    "r": 106,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 72.245,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.12168,
    "h": 120.8
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#6A7E1C
secondary
#5A44B2
accent
#41E763
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A7E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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