#7A842E#7A842E

#7A842E is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.110 H 115.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7A842E
RGBrgb(122, 132, 46)
HSLhsl(67, 48%, 35%)
HSVhsv(67, 65%, 52%)
CMYKcmyk(7.6%, 0%, 65.2%, 48.2%)
CIE-LABlab(52.77, -15.99, 43.65)
CIE-LCHlch(52.77, 46.49, 110.11°)
OKLaboklab(58.74% -0.0474 0.0994)
OKLCHoklch(58.74% 0.11 115.5)
XYZxyz(16.7708, 20.8376, 5.7228)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A842E #382E84
analogous
#84632E #7A842E #4F842E
triadic
#7A842E #2E7A84 #842E7A
tetradic
#7A842E #2E8463 #382E84 #842E4F
square
#7A842E #2E8463 #382E84 #842E4F
split-complementary
#7A842E #2E4F84 #632E84
monochromatic
#26290E #50571E #7A842E #A4B13E #BDC964

Accessibility & contrast

On white

4.06
#7A842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7A842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A842E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A842E#FFFFFF#000000##000000
##7A842E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#8C7F34
Tritanopia (blue-blind)
#827D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a842e;
/* rgb */ color: rgb(122, 132, 46);
/* oklch */ color: oklch(58.7% 0.110 115.5);
Tailwind
colors: {
  custom: {
    50: '#a3a76b',
    500: '#7a842e',
    950: '#000000',
  },
}
SCSS
$custom: #7a842e;
$custom-light: #a3a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a842e",
  "rgb": {
    "r": 122,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 66.977,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.11012,
    "h": 115.5
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#7A842E
secondary
#685EB0
accent
#50D860
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7A842E

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

Preview Lab → · Contrast checker → · Palette generator →

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