#7A8A19#7A8A19

#7A8A19 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.0% C 0.131 H 117.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7A8A19
RGBrgb(122, 138, 25)
HSLhsl(68, 69%, 32%)
HSVhsv(68, 82%, 54%)
CMYKcmyk(11.6%, 0%, 81.9%, 45.9%)
CIE-LABlab(54.43, -20.28, 53.17)
CIE-LCHlch(54.43, 56.91, 110.88°)
OKLaboklab(60.03% -0.0613 0.1158)
OKLCHoklch(60.03% 0.131 117.9)
XYZxyz(17.2904, 22.3849, 4.3294)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A19 #29198A
analogous
#8A6219 #7A8A19 #418A19
triadic
#7A8A19 #197A8A #8A197A
tetradic
#7A8A19 #198A62 #29198A #8A1941
square
#7A8A19 #198A62 #29198A #8A1941
split-complementary
#7A8A19 #19418A #62198A
monochromatic
#1E2206 #4C5610 #7A8A19 #A8BE22 #C7DD41

Accessibility & contrast

On white

3.83
#7A8A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7A8A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A19
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A19#FFFFFF#000000##000000
##7A8A191.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#828276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a19;
/* rgb */ color: rgb(122, 138, 25);
/* oklch */ color: oklch(60.0% 0.131 117.9);
Tailwind
colors: {
  custom: {
    50: '#a4ac61',
    500: '#7a8a19',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a19;
$custom-light: #a4ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a19",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 68.496,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.13107,
    "h": 117.9
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#7A8A19
secondary
#5342BD
accent
#3CEC55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8A19

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

Preview Lab → · Contrast checker → · Palette generator →

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