#7A8819#7A8819

#7A8819 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.5% C 0.129 H 117.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A8819
RGBrgb(122, 136, 25)
HSLhsl(68, 69%, 32%)
HSVhsv(68, 82%, 53%)
CMYKcmyk(10.3%, 0%, 81.6%, 46.7%)
CIE-LABlab(53.83, -19.25, 52.64)
CIE-LCHlch(53.83, 56.05, 110.09°)
OKLaboklab(59.54% -0.0585 0.1147)
OKLCHoklch(59.54% 0.129 117)
XYZxyz(17.0061, 21.8163, 4.2346)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8819 #271988
analogous
#885F19 #7A8819 #438819
triadic
#7A8819 #197A88 #88197A
tetradic
#7A8819 #19885F #271988 #881943
square
#7A8819 #19885F #271988 #881943
split-complementary
#7A8819 #194388 #5F1988
monochromatic
#1D2106 #4C540F #7A8819 #A8BC23 #C8DC40

Accessibility & contrast

On white

3.92
#7A8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7A8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8819
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8819#FFFFFF#000000##000000
##7A88191.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8819;
/* rgb */ color: rgb(122, 136, 25);
/* oklch */ color: oklch(59.5% 0.129 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4aa61',
    500: '#7a8819',
    950: '#000000',
  },
}
SCSS
$custom: #7a8819;
$custom-light: #a4aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8819",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 67.568,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.12875,
    "h": 117
  },
  "luminance": 0.21816
}

Semantic roles & 50–950 ramp

primary
#7A8819
secondary
#5141BB
accent
#3CEC52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8819

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

Preview Lab → · Contrast checker → · Palette generator →

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