#6A7D15#6A7D15

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

Color values

HEX#6A7D15
RGBrgb(106, 125, 21)
HSLhsl(71, 71%, 29%)
HSVhsv(71, 83%, 49%)
CMYKcmyk(15.2%, 0%, 83.2%, 51%)
CIE-LABlab(49.23, -20.87, 49.27)
CIE-LCHlch(49.23, 53.51, 112.95°)
OKLaboklab(55.53% -0.0623 0.1074)
OKLCHoklch(55.53% 0.124 120.1)
XYZxyz(13.4131, 17.7856, 3.4357)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D15 #28157D
analogous
#7D5C15 #6A7D15 #367D15
triadic
#6A7D15 #156A7D #7D156A
tetradic
#6A7D15 #157D5C #28157D #7D1536
square
#6A7D15 #157D5C #28157D #7D1536
split-complementary
#6A7D15 #15367D #5C157D
monochromatic
#161A04 #3E490C #6A7D15 #96B11E #BDDC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7D15#FFFFFF#000000##FFFFFF
##6A7D151.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)
#837520
Tritanopia (blue-blind)
#71766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d15;
/* rgb */ color: rgb(106, 125, 21);
/* oklch */ color: oklch(55.5% 0.124 120.1);
Tailwind
colors: {
  custom: {
    50: '#98a25d',
    500: '#6a7d15',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d15;
$custom-light: #98a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d15",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 70.962,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55527,
    "c": 0.12418,
    "h": 120.1
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#6A7D15
secondary
#513CB2
accent
#3AEE5B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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