#7A802A#7A802A

#7A802A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.108 H 113.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A802A
RGBrgb(122, 128, 42)
HSLhsl(64, 51%, 33%)
HSVhsv(64, 67%, 50%)
CMYKcmyk(4.7%, 0%, 67.2%, 49.8%)
CIE-LABlab(51.55, -14.13, 44.13)
CIE-LCHlch(51.55, 46.34, 107.75°)
OKLaboklab(57.74% -0.0426 0.0998)
OKLCHoklch(57.74% 0.109 113.1)
XYZxyz(16.1636, 19.7434, 5.1494)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A802A #302A80
analogous
#805B2A #7A802A #4F802A
triadic
#7A802A #2A7A80 #802A7A
tetradic
#7A802A #2A805B #302A80 #802A4F
square
#7A802A #2A805B #302A80 #802A4F
split-complementary
#7A802A #2A4F80 #5B2A80
monochromatic
#22240C #4E521B #7A802A #A6AE39 #C2C95B

Accessibility & contrast

On white

4.24
#7A802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7A802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A802A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A802A#FFFFFF#000000##000000
##7A802A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1E
Deuteranopia (green-blind)
#897C30
Tritanopia (blue-blind)
#82786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a802a;
/* rgb */ color: rgb(122, 128, 42);
/* oklch */ color: oklch(57.7% 0.108 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a468',
    500: '#7a802a',
    950: '#000000',
  },
}
SCSS
$custom: #7a802a;
$custom-light: #a3a468;
$custom-dark: #000000;
JSON
{
  "hex": "#7a802a",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 64.186,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57743,
    "c": 0.1085,
    "h": 113.1
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#7A802A
secondary
#5D57AF
accent
#4EDA58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A802A

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

Preview Lab → · Contrast checker → · Palette generator →

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