#7A8916#7A8916

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

Color values

HEX#7A8916
RGBrgb(122, 137, 22)
HSLhsl(68, 72%, 31%)
HSVhsv(68, 84%, 54%)
CMYKcmyk(10.9%, 0%, 83.9%, 46.3%)
CIE-LABlab(54.12, -19.88, 53.75)
CIE-LCHlch(54.12, 57.31, 110.30°)
OKLaboklab(59.77% -0.0604 0.1165)
OKLCHoklch(59.77% 0.131 117.4)
XYZxyz(17.1170, 22.0870, 4.1204)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8916 #251689
analogous
#895E16 #7A8916 #408916
triadic
#7A8916 #167A89 #89167A
tetradic
#7A8916 #16895E #251689 #891640
square
#7A8916 #16895E #251689 #891640
split-complementary
#7A8916 #164089 #5E1689
monochromatic
#1C2005 #4B540E #7A8916 #A9BE1E #CADF3A

Accessibility & contrast

On white

3.88
#7A8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8916#FFFFFF#000000##000000
##7A89161.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8916;
/* rgb */ color: rgb(122, 137, 22);
/* oklch */ color: oklch(59.8% 0.131 117.4);
Tailwind
colors: {
  custom: {
    50: '#a4ab60',
    500: '#7a8916',
    950: '#000000',
  },
}
SCSS
$custom: #7a8916;
$custom-light: #a4ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8916",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 67.826,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.13127,
    "h": 117.4
  },
  "luminance": 0.22087
}

Semantic roles & 50–950 ramp

primary
#7A8916
secondary
#4E3EBD
accent
#39EF51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8916

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

Preview Lab → · Contrast checker → · Palette generator →

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