#6A792B#6A792B

#6A792B is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.7% C 0.104 H 119.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6A792B
RGBrgb(106, 121, 43)
HSLhsl(72, 48%, 32%)
HSVhsv(72, 64%, 47%)
CMYKcmyk(12.4%, 0%, 64.5%, 52.5%)
CIE-LABlab(48.15, -17.47, 39.69)
CIE-LCHlch(48.15, 43.37, 113.75°)
OKLaboklab(54.7% -0.0509 0.0909)
OKLCHoklch(54.7% 0.104 119.2)
XYZxyz(13.2175, 16.9134, 4.8533)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A792B #3A2B79
analogous
#79612B #6A792B #43792B
triadic
#6A792B #2B6A79 #792B6A
tetradic
#6A792B #2B7961 #3A2B79 #792B43
square
#6A792B #2B7961 #3A2B79 #792B43
split-complementary
#6A792B #2B4379 #612B79
monochromatic
#1B1F0B #424C1B #6A792B #92A63B #B0C45A

Accessibility & contrast

On white

4.79
#6A792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6A792B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A792B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A792B#FFFFFF#000000##FFFFFF
##6A792B1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817222
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#707369
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a792b;
/* rgb */ color: rgb(106, 121, 43);
/* oklch */ color: oklch(54.7% 0.104 119.2);
Tailwind
colors: {
  custom: {
    50: '#979f68',
    500: '#6a792b',
    950: '#000000',
  },
}
SCSS
$custom: #6a792b;
$custom-light: #979f68;
$custom-dark: #000000;
JSON
{
  "hex": "#6a792b",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 71.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.1042,
    "h": 119.2
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#6A792B
secondary
#6656AA
accent
#51D76B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #6A792B

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

Preview Lab → · Contrast checker → · Palette generator →

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