#6A7D13#6A7D13

#6A7D13 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#6A7D13
RGBrgb(106, 125, 19)
HSLhsl(71, 74%, 28%)
HSVhsv(71, 85%, 49%)
CMYKcmyk(15.2%, 0%, 84.8%, 51%)
CIE-LABlab(49.23, -20.95, 49.84)
CIE-LCHlch(49.23, 54.06, 112.80°)
OKLaboklab(55.52% -0.0627 0.1083)
OKLCHoklch(55.52% 0.125 120.1)
XYZxyz(13.3953, 17.7785, 3.3419)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D13 #26137D
analogous
#7D5B13 #6A7D13 #357D13
triadic
#6A7D13 #136A7D #7D136A
tetradic
#6A7D13 #137D5B #26137D #7D1335
square
#6A7D13 #137D5B #26137D #7D1335
split-complementary
#6A7D13 #13357D #5B137D
monochromatic
#171B04 #3D480B #6A7D13 #97B21B #BFDF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7D13#FFFFFF#000000##FFFFFF
##6A7D131.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)
#867500
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#71766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d13;
/* rgb */ color: rgb(106, 125, 19);
/* oklch */ color: oklch(55.5% 0.125 120.1);
Tailwind
colors: {
  custom: {
    50: '#98a25d',
    500: '#6a7d13',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d13;
$custom-light: #98a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d13",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 70.755,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.12509,
    "h": 120.1
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#6A7D13
secondary
#4F39B3
accent
#38F059
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6A7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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