#7A8B16#7A8B16

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

Color values

HEX#7A8B16
RGBrgb(122, 139, 22)
HSLhsl(69, 73%, 32%)
HSVhsv(69, 84%, 55%)
CMYKcmyk(12.2%, 0%, 84.2%, 45.5%)
CIE-LABlab(54.72, -20.91, 54.27)
CIE-LCHlch(54.72, 58.16, 111.07°)
OKLaboklab(60.25% -0.0632 0.1177)
OKLCHoklch(60.25% 0.134 118.3)
XYZxyz(17.4039, 22.6609, 4.2161)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8B16 #27168B
analogous
#8B6216 #7A8B16 #408B16
triadic
#7A8B16 #167A8B #8B167A
tetradic
#7A8B16 #168B62 #27168B #8B1640
square
#7A8B16 #168B62 #27168B #8B1640
split-complementary
#7A8B16 #16408B #62168B
monochromatic
#1D2105 #4C560E #7A8B16 #A8C01E #C8E03B

Accessibility & contrast

On white

3.80
#7A8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8B16#FFFFFF#000000##000000
##7A8B161.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8b16;
/* rgb */ color: rgb(122, 139, 22);
/* oklch */ color: oklch(60.3% 0.134 118.3);
Tailwind
colors: {
  custom: {
    50: '#a4ac60',
    500: '#7a8b16',
    950: '#000000',
  },
}
SCSS
$custom: #7a8b16;
$custom-light: #a4ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8b16",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 68.718,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.13358,
    "h": 118.3
  },
  "luminance": 0.22661
}

Semantic roles & 50–950 ramp

primary
#7A8B16
secondary
#513EBF
accent
#38EF53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8B16

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

Preview Lab → · Contrast checker → · Palette generator →

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