#6A7D14#6A7D14

#6A7D14 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.5% C 0.125 H 120.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6A7D14
RGBrgb(106, 125, 20)
HSLhsl(71, 72%, 28%)
HSVhsv(71, 84%, 49%)
CMYKcmyk(15.2%, 0%, 84%, 51%)
CIE-LABlab(49.23, -20.91, 49.56)
CIE-LCHlch(49.23, 53.79, 112.87°)
OKLaboklab(55.52% -0.0625 0.1078)
OKLCHoklch(55.52% 0.125 120.1)
XYZxyz(13.4040, 17.7820, 3.3878)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D14 #27147D
analogous
#7D5B14 #6A7D14 #357D14
triadic
#6A7D14 #146A7D #7D146A
tetradic
#6A7D14 #147D5B #27147D #7D1435
square
#6A7D14 #147D5B #27147D #7D1435
split-complementary
#6A7D14 #14357D #5B147D
monochromatic
#161A04 #3D480C #6A7D14 #97B21C #BEDE2E

Accessibility & contrast

On white

4.61
#6A7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A7D14
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7D14#FFFFFF#000000##FFFFFF
##6A7D141.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#71766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d14;
/* rgb */ color: rgb(106, 125, 20);
/* oklch */ color: oklch(55.5% 0.125 120.1);
Tailwind
colors: {
  custom: {
    50: '#98a25d',
    500: '#6a7d14',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d14;
$custom-light: #98a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d14",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 70.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.12464,
    "h": 120.1
  },
  "luminance": 0.17782
}

Semantic roles & 50–950 ramp

primary
#6A7D14
secondary
#503AB2
accent
#39EF5A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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