#7A8116#7A8116

#7A8116 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.122 H 113.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7A8116
RGBrgb(122, 129, 22)
HSLhsl(64, 71%, 30%)
HSVhsv(64, 83%, 51%)
CMYKcmyk(5.4%, 0%, 82.9%, 49.4%)
CIE-LABlab(51.72, -15.69, 51.66)
CIE-LCHlch(51.72, 53.99, 106.90°)
OKLaboklab(57.84% -0.0489 0.112)
OKLCHoklch(57.84% 0.122 113.6)
XYZxyz(16.0216, 19.8964, 3.7553)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8116 #1D1681
analogous
#815316 #7A8116 #458116
triadic
#7A8116 #167A81 #81167A
tetradic
#7A8116 #168153 #1D1681 #811645
square
#7A8116 #168153 #1D1681 #811645
split-complementary
#7A8116 #164581 #531681
monochromatic
#191A04 #494D0D #7A8116 #ABB51F #D2DD35

Accessibility & contrast

On white

4.22
#7A8116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7A8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8116
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8116#FFFFFF#000000##000000
##7A81161.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C21
Tritanopia (blue-blind)
#83796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8116;
/* rgb */ color: rgb(122, 129, 22);
/* oklch */ color: oklch(57.8% 0.122 113.6);
Tailwind
colors: {
  custom: {
    50: '#a4a55f',
    500: '#7a8116',
    950: '#000000',
  },
}
SCSS
$custom: #7a8116;
$custom-light: #a4a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8116",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 63.925,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57842,
    "c": 0.12225,
    "h": 113.6
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#7A8116
secondary
#453DB6
accent
#3AEE46
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8116

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

Preview Lab → · Contrast checker → · Palette generator →

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