#7A8720#7A8720

#7A8720 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.3% C 0.124 H 116.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7A8720
RGBrgb(122, 135, 32)
HSLhsl(68, 62%, 33%)
HSVhsv(68, 76%, 53%)
CMYKcmyk(9.6%, 0%, 76.3%, 47.1%)
CIE-LABlab(53.57, -18.42, 50.10)
CIE-LCHlch(53.57, 53.38, 110.18°)
OKLaboklab(59.34% -0.0556 0.1106)
OKLCHoklch(59.34% 0.124 116.7)
XYZxyz(16.9512, 21.5700, 4.6367)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8720 #2D2087
analogous
#876120 #7A8720 #468720
triadic
#7A8720 #207A87 #87207A
tetradic
#7A8720 #208761 #2D2087 #872046
square
#7A8720 #208761 #2D2087 #872046
split-complementary
#7A8720 #204687 #612087
monochromatic
#212409 #4D5614 #7A8720 #A7B82C #C4D54D

Accessibility & contrast

On white

3.95
#7A8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7A8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8720
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8720#FFFFFF#000000##000000
##7A87201.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918009
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#827F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a8720;
/* rgb */ color: rgb(122, 135, 32);
/* oklch */ color: oklch(59.3% 0.124 116.7);
Tailwind
colors: {
  custom: {
    50: '#a3a964',
    500: '#7a8720',
    950: '#000000',
  },
}
SCSS
$custom: #7a8720;
$custom-light: #a3a964;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8720",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 67.573,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.12379,
    "h": 116.7
  },
  "luminance": 0.2157
}

Semantic roles & 50–950 ramp

primary
#7A8720
secondary
#594BB8
accent
#43E557
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7A8720

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

Preview Lab → · Contrast checker → · Palette generator →

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