#7A8820#7A8820

#7A8820 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.125 H 117.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7A8820
RGBrgb(122, 136, 32)
HSLhsl(68, 62%, 33%)
HSVhsv(68, 76%, 53%)
CMYKcmyk(10.3%, 0%, 76.5%, 46.7%)
CIE-LABlab(53.87, -18.94, 50.39)
CIE-LCHlch(53.87, 53.83, 110.60°)
OKLaboklab(59.58% -0.057 0.1112)
OKLCHoklch(59.58% 0.125 117.2)
XYZxyz(17.0913, 21.8504, 4.6834)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8820 #2E2088
analogous
#886220 #7A8820 #468820
triadic
#7A8820 #207A88 #88207A
tetradic
#7A8820 #208862 #2E2088 #882046
square
#7A8820 #208862 #2E2088 #882046
split-complementary
#7A8820 #204688 #622088
monochromatic
#212509 #4E5614 #7A8820 #A6BA2C #C3D54D

Accessibility & contrast

On white

3.91
#7A8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7A8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8820
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8820#FFFFFF#000000##000000
##7A88201.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928009
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#828074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8820;
/* rgb */ color: rgb(122, 136, 32);
/* oklch */ color: oklch(59.6% 0.125 117.2);
Tailwind
colors: {
  custom: {
    50: '#a4aa64',
    500: '#7a8820',
    950: '#000000',
  },
}
SCSS
$custom: #7a8820;
$custom-light: #a4aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8820",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 68.077,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.12498,
    "h": 117.2
  },
  "luminance": 0.2185
}

Semantic roles & 50–950 ramp

primary
#7A8820
secondary
#5A4CB8
accent
#43E559
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8820

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

Preview Lab → · Contrast checker → · Palette generator →

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