#7A862E#7A862E

#7A862E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.113 H 116.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7A862E
RGBrgb(122, 134, 46)
HSLhsl(68, 49%, 35%)
HSVhsv(68, 66%, 53%)
CMYKcmyk(9%, 0%, 65.7%, 47.5%)
CIE-LABlab(53.37, -17.04, 44.29)
CIE-LCHlch(53.37, 47.45, 111.05°)
OKLaboklab(59.21% -0.0504 0.1007)
OKLCHoklch(59.21% 0.113 116.6)
XYZxyz(17.0446, 21.3852, 5.8141)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A862E #3A2E86
analogous
#86662E #7A862E #4E862E
triadic
#7A862E #2E7A86 #862E7A
tetradic
#7A862E #2E8666 #3A2E86 #862E4E
square
#7A862E #2E8666 #3A2E86 #862E4E
split-complementary
#7A862E #2E4E86 #662E86
monochromatic
#272B0F #51581E #7A862E #A3B43E #BCCA64

Accessibility & contrast

On white

3.98
#7A862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7A862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A862E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A862E#FFFFFF#000000##000000
##7A862E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#817F74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a862e;
/* rgb */ color: rgb(122, 134, 46);
/* oklch */ color: oklch(59.2% 0.113 116.6);
Tailwind
colors: {
  custom: {
    50: '#a3a96b',
    500: '#7a862e',
    950: '#000000',
  },
}
SCSS
$custom: #7a862e;
$custom-light: #a3a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a862e",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 68.182,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59214,
    "c": 0.11262,
    "h": 116.6
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#7A862E
secondary
#6A5FB1
accent
#4FD862
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7A862E

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

Preview Lab → · Contrast checker → · Palette generator →

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