#7A8919#7A8919

#7A8919 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.8% C 0.130 H 117.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A8919
RGBrgb(122, 137, 25)
HSLhsl(68, 69%, 32%)
HSVhsv(68, 82%, 54%)
CMYKcmyk(10.9%, 0%, 81.8%, 46.3%)
CIE-LABlab(54.13, -19.77, 52.91)
CIE-LCHlch(54.13, 56.48, 110.49°)
OKLaboklab(59.78% -0.0599 0.1153)
OKLCHoklch(59.78% 0.13 117.5)
XYZxyz(17.1476, 22.0993, 4.2818)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8919 #281989
analogous
#896019 #7A8919 #428919
triadic
#7A8919 #197A89 #89197A
tetradic
#7A8919 #198960 #281989 #891942
square
#7A8919 #198960 #281989 #891942
split-complementary
#7A8919 #194289 #601989
monochromatic
#1E2106 #4C5510 #7A8919 #A8BD22 #C7DC40

Accessibility & contrast

On white

3.87
#7A8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7A8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8919
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8919#FFFFFF#000000##000000
##7A89191.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#828175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8919;
/* rgb */ color: rgb(122, 137, 25);
/* oklch */ color: oklch(59.8% 0.130 117.5);
Tailwind
colors: {
  custom: {
    50: '#a4ab61',
    500: '#7a8919',
    950: '#000000',
  },
}
SCSS
$custom: #7a8919;
$custom-light: #a4ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8919",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 68.036,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.1299,
    "h": 117.5
  },
  "luminance": 0.22099
}

Semantic roles & 50–950 ramp

primary
#7A8919
secondary
#5241BC
accent
#3CEC53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8919

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

Preview Lab → · Contrast checker → · Palette generator →

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