#6A7D1B#6A7D1B

#6A7D1B is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.6% C 0.121 H 120.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6A7D1B
RGBrgb(106, 125, 27)
HSLhsl(72, 64%, 30%)
HSVhsv(72, 78%, 49%)
CMYKcmyk(15.2%, 0%, 78.4%, 51%)
CIE-LABlab(49.27, -20.60, 47.37)
CIE-LCHlch(49.27, 51.66, 113.50°)
OKLaboklab(55.56% -0.0611 0.1045)
OKLCHoklch(55.56% 0.121 120.3)
XYZxyz(13.4756, 17.8106, 3.7646)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D1B #2E1B7D
analogous
#7D5F1B #6A7D1B #397D1B
triadic
#6A7D1B #1B6A7D #7D1B6A
tetradic
#6A7D1B #1B7D5F #2E1B7D #7D1B39
square
#6A7D1B #1B7D5F #2E1B7D #7D1B39
split-complementary
#6A7D1B #1B397D #5F1B7D
monochromatic
#151905 #3F4B10 #6A7D1B #95AF26 #B8D53D

Accessibility & contrast

On white

4.60
#6A7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6A7D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7D1B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7D1B#FFFFFF#000000##FFFFFF
##6A7D1B1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#70766B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d1b;
/* rgb */ color: rgb(106, 125, 27);
/* oklch */ color: oklch(55.6% 0.121 120.3);
Tailwind
colors: {
  custom: {
    50: '#98a260',
    500: '#6a7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d1b;
$custom-light: #98a260;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d1b",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 71.633,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.12101,
    "h": 120.3
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#6A7D1B
secondary
#5843B1
accent
#40E761
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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