#7A8022#7A8022

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

Color values

HEX#7A8022
RGBrgb(122, 128, 34)
HSLhsl(64, 58%, 32%)
HSVhsv(64, 73%, 50%)
CMYKcmyk(4.7%, 0%, 73.4%, 49.8%)
CIE-LABlab(51.49, -14.62, 47.37)
CIE-LCHlch(51.49, 49.57, 107.15°)
OKLaboklab(57.68% -0.0448 0.1052)
OKLCHoklch(57.68% 0.114 113.1)
XYZxyz(16.0344, 19.6918, 4.4693)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8022 #282280
analogous
#805722 #7A8022 #4B8022
triadic
#7A8022 #227A80 #80227A
tetradic
#7A8022 #228057 #282280 #80224B
square
#7A8022 #228057 #282280 #80224B
split-complementary
#7A8022 #224B80 #572280
monochromatic
#1E1F08 #4C5015 #7A8022 #A8B02F #C7D04D

Accessibility & contrast

On white

4.25
#7A8022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7A8022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8022
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8022#FFFFFF#000000##000000
##7A80221.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A11
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#82786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8022;
/* rgb */ color: rgb(122, 128, 34);
/* oklch */ color: oklch(57.7% 0.114 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a464',
    500: '#7a8022',
    950: '#000000',
  },
}
SCSS
$custom: #7a8022;
$custom-light: #a3a464;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8022",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 63.83,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.11435,
    "h": 113.1
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#7A8022
secondary
#524BB2
accent
#47E150
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8022

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

Preview Lab → · Contrast checker → · Palette generator →

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