#6A7C15#6A7C15

#6A7C15 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.3% C 0.123 H 119.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A7C15
RGBrgb(106, 124, 21)
HSLhsl(70, 71%, 28%)
HSVhsv(70, 83%, 49%)
CMYKcmyk(14.5%, 0%, 83.1%, 51.4%)
CIE-LABlab(48.93, -20.35, 49.00)
CIE-LCHlch(48.93, 53.06, 112.56°)
OKLaboklab(55.28% -0.0609 0.1068)
OKLCHoklch(55.28% 0.123 119.7)
XYZxyz(13.2872, 17.5337, 3.3937)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7C15 #27157C
analogous
#7C5A15 #6A7C15 #377C15
triadic
#6A7C15 #156A7C #7C156A
tetradic
#6A7C15 #157C5A #27157C #7C1537
square
#6A7C15 #157C5A #27157C #7C1537
split-complementary
#6A7C15 #15377C #5A157C
monochromatic
#161A04 #3D480C #6A7C15 #97B01E #BEDC30

Accessibility & contrast

On white

4.66
#6A7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6A7C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7C15
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7C15#FFFFFF#000000##FFFFFF
##6A7C151.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#717569
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a7c15;
/* rgb */ color: rgb(106, 124, 21);
/* oklch */ color: oklch(55.3% 0.123 119.7);
Tailwind
colors: {
  custom: {
    50: '#98a15d',
    500: '#6a7c15',
    950: '#000000',
  },
}
SCSS
$custom: #6a7c15;
$custom-light: #98a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7c15",
  "rgb": {
    "r": 106,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 70.485,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.12296,
    "h": 119.7
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#6A7C15
secondary
#503CB1
accent
#3AEE59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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