#7A8A16#7A8A16

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

Color values

HEX#7A8A16
RGBrgb(122, 138, 22)
HSLhsl(68, 73%, 31%)
HSVhsv(68, 84%, 54%)
CMYKcmyk(11.6%, 0%, 84.1%, 45.9%)
CIE-LABlab(54.42, -20.39, 54.01)
CIE-LCHlch(54.42, 57.73, 110.69°)
OKLaboklab(60.01% -0.0618 0.1171)
OKLCHoklch(60.01% 0.132 117.8)
XYZxyz(17.2598, 22.3726, 4.1680)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A16 #26168A
analogous
#8A6016 #7A8A16 #408A16
triadic
#7A8A16 #167A8A #8A167A
tetradic
#7A8A16 #168A60 #26168A #8A1640
square
#7A8A16 #168A60 #26168A #8A1640
split-complementary
#7A8A16 #16408A #60168A
monochromatic
#1D2005 #4B550E #7A8A16 #A9BF1E #C9E03B

Accessibility & contrast

On white

3.84
#7A8A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7A8A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A16
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A16#FFFFFF#000000##000000
##7A8A161.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8a16;
/* rgb */ color: rgb(122, 138, 22);
/* oklch */ color: oklch(60.0% 0.132 117.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac60',
    500: '#7a8a16',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a16;
$custom-light: #a4ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a16",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 68.276,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.13243,
    "h": 117.8
  },
  "luminance": 0.22372
}

Semantic roles & 50–950 ramp

primary
#7A8A16
secondary
#503EBE
accent
#39EF52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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