#7A8B19#7A8B19

#7A8B19 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.3% C 0.132 H 118.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A8B19
RGBrgb(122, 139, 25)
HSLhsl(69, 70%, 32%)
HSVhsv(69, 82%, 55%)
CMYKcmyk(12.2%, 0%, 82%, 45.5%)
CIE-LABlab(54.73, -20.80, 53.44)
CIE-LCHlch(54.73, 57.34, 111.26°)
OKLaboklab(60.27% -0.0627 0.1164)
OKLCHoklch(60.27% 0.132 118.3)
XYZxyz(17.4345, 22.6732, 4.3774)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8B19 #2A198B
analogous
#8B6319 #7A8B19 #418B19
triadic
#7A8B19 #197A8B #8B197A
tetradic
#7A8B19 #198B63 #2A198B #8B1941
square
#7A8B19 #198B63 #2A198B #8B1941
split-complementary
#7A8B19 #19418B #63198B
monochromatic
#1F2306 #4C5710 #7A8B19 #A8BF22 #C6DD41

Accessibility & contrast

On white

3.79
#7A8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7A8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8B19
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8B19#FFFFFF#000000##000000
##7A8B191.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#828376
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8b19;
/* rgb */ color: rgb(122, 139, 25);
/* oklch */ color: oklch(60.3% 0.132 118.3);
Tailwind
colors: {
  custom: {
    50: '#a4ac61',
    500: '#7a8b19',
    950: '#000000',
  },
}
SCSS
$custom: #7a8b19;
$custom-light: #a4ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8b19",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 68.947,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.13224,
    "h": 118.3
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#7A8B19
secondary
#5442BE
accent
#3BEC56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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