#7A882A#7A882A

#7A882A is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.7% C 0.118 H 117.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A882A
RGBrgb(122, 136, 42)
HSLhsl(69, 53%, 35%)
HSVhsv(69, 69%, 53%)
CMYKcmyk(10.3%, 0%, 69.1%, 46.7%)
CIE-LABlab(53.93, -18.36, 46.60)
CIE-LCHlch(53.93, 50.08, 111.51°)
OKLaboklab(59.66% -0.0545 0.105)
OKLCHoklch(59.66% 0.118 117.4)
XYZxyz(17.2485, 21.9132, 5.5111)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A882A #382A88
analogous
#88672A #7A882A #4B882A
triadic
#7A882A #2A7A88 #882A7A
tetradic
#7A882A #2A8867 #382A88 #882A4B
square
#7A882A #2A8867 #382A88 #882A4B
split-complementary
#7A882A #2A4B88 #672A88
monochromatic
#262A0D #50591C #7A882A #A4B738 #BDCE5F

Accessibility & contrast

On white

3.90
#7A882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7A882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A882A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A882A#FFFFFF#000000##000000
##7A882A1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#818075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a882a;
/* rgb */ color: rgb(122, 136, 42);
/* oklch */ color: oklch(59.7% 0.118 117.4);
Tailwind
colors: {
  custom: {
    50: '#a3aa69',
    500: '#7a882a',
    950: '#000000',
  },
}
SCSS
$custom: #7a882a;
$custom-light: #a3aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#7a882a",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 68.936,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59658,
    "c": 0.11826,
    "h": 117.4
  },
  "luminance": 0.21913
}

Semantic roles & 50–950 ramp

primary
#7A882A
secondary
#685BB3
accent
#4CDC61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A882A

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

Preview Lab → · Contrast checker → · Palette generator →

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