#7A8262#7A8262

#7A8262 is a mid, muted yellow-green. Relative luminance 0.210; OKLCH L 59.1% C 0.048 H 119.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7A8262
RGBrgb(122, 130, 98)
HSLhsl(75, 14%, 45%)
HSVhsv(75, 25%, 51%)
CMYKcmyk(6.2%, 0%, 24.6%, 49%)
CIE-LABlab(52.93, -8.86, 16.38)
CIE-LCHlch(52.93, 18.62, 118.42°)
OKLaboklab(59.11% -0.0233 0.0416)
OKLCHoklch(59.11% 0.048 119.3)
XYZxyz(18.2131, 20.9847, 14.6439)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8262 #6A6282
analogous
#827A62 #7A8262 #6A8262
triadic
#7A8262 #627A82 #82627A
tetradic
#7A8262 #62827A #6A6282 #82626A
square
#7A8262 #62827A #6A6282 #82626A
split-complementary
#7A8262 #626A82 #7A6282
monochromatic
#393C2D #595F48 #7A8262 #98A081 #B5BAA4

Accessibility & contrast

On white

4.04
#7A8262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7A8262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8262
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8262#FFFFFF#000000##000000
##7A82621.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867E60
Deuteranopia (green-blind)
#857E63
Tritanopia (blue-blind)
#7D7F79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8262;
/* rgb */ color: rgb(122, 130, 98);
/* oklch */ color: oklch(59.1% 0.048 119.3);
Tailwind
colors: {
  custom: {
    50: '#a0a68e',
    500: '#7a8262',
    950: '#000000',
  },
}
SCSS
$custom: #7a8262;
$custom-light: #a0a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8262",
  "rgb": {
    "r": 122,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 75,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.04765,
    "h": 119.3
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#7A8262
secondary
#9B97A9
accent
#71B782
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F0F0C
muted
#7E7F7D

Preview Lab

Preview with #7A8262

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

Preview Lab → · Contrast checker → · Palette generator →

#7A8262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva