#6A7D19#6A7D19

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

Color values

HEX#6A7D19
RGBrgb(106, 125, 25)
HSLhsl(71, 67%, 29%)
HSVhsv(71, 80%, 49%)
CMYKcmyk(15.2%, 0%, 80%, 51%)
CIE-LABlab(49.25, -20.70, 48.04)
CIE-LCHlch(49.25, 52.31, 113.31°)
OKLaboklab(55.55% -0.0615 0.1055)
OKLCHoklch(55.55% 0.122 120.3)
XYZxyz(13.4532, 17.8016, 3.6468)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D19 #2C197D
analogous
#7D5E19 #6A7D19 #387D19
triadic
#6A7D19 #196A7D #7D196A
tetradic
#6A7D19 #197D5E #2C197D #7D1938
square
#6A7D19 #197D5E #2C197D #7D1938
split-complementary
#6A7D19 #19387D #5E197D
monochromatic
#161A05 #3F4A0F #6A7D19 #95B023 #B9D739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7D19#FFFFFF#000000##FFFFFF
##6A7D191.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)
#857500
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#70766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d19;
/* rgb */ color: rgb(106, 125, 25);
/* oklch */ color: oklch(55.5% 0.122 120.3);
Tailwind
colors: {
  custom: {
    50: '#98a25f',
    500: '#6a7d19',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d19;
$custom-light: #98a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d19",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 71.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.12214,
    "h": 120.3
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

primary
#6A7D19
secondary
#5640B1
accent
#3EEA5F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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