#7A8019#7A8019

#7A8019 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.120 H 113.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A8019
RGBrgb(122, 128, 25)
HSLhsl(63, 67%, 30%)
HSVhsv(63, 80%, 50%)
CMYKcmyk(4.7%, 0%, 80.5%, 49.8%)
CIE-LABlab(51.44, -15.05, 50.49)
CIE-LCHlch(51.44, 52.69, 106.59°)
OKLaboklab(57.62% -0.0469 0.1101)
OKLCHoklch(57.62% 0.12 113.1)
XYZxyz(15.9212, 19.6465, 3.8730)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8019 #1F1980
analogous
#805219 #7A8019 #478019
triadic
#7A8019 #197A80 #80197A
tetradic
#7A8019 #198052 #1F1980 #801947
square
#7A8019 #198052 #1F1980 #801947
split-complementary
#7A8019 #194780 #521980
monochromatic
#181A05 #494D0F #7A8019 #ABB323 #CFD93B

Accessibility & contrast

On white

4.26
#7A8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8019
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8019#FFFFFF#000000##000000
##7A80191.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8A7C22
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8019;
/* rgb */ color: rgb(122, 128, 25);
/* oklch */ color: oklch(57.6% 0.120 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a460',
    500: '#7a8019',
    950: '#000000',
  },
}
SCSS
$custom: #7a8019;
$custom-light: #a4a460;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8019",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 63.495,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.11968,
    "h": 113.1
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#7A8019
secondary
#4741B4
accent
#3EEA48
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8019

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

Preview Lab → · Contrast checker → · Palette generator →

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