#7A8111#7A8111

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

Color values

HEX#7A8111
RGBrgb(122, 129, 17)
HSLhsl(64, 77%, 29%)
HSVhsv(64, 87%, 51%)
CMYKcmyk(5.4%, 0%, 86.8%, 49.4%)
CIE-LABlab(51.70, -15.86, 52.98)
CIE-LCHlch(51.70, 55.30, 106.67°)
OKLaboklab(57.82% -0.0497 0.114)
OKLCHoklch(57.82% 0.124 113.6)
XYZxyz(15.9780, 19.8789, 3.5255)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8111 #181181
analogous
#815011 #7A8111 #428111
triadic
#7A8111 #117A81 #81117A
tetradic
#7A8111 #118150 #181181 #811142
square
#7A8111 #118150 #181181 #811142
split-complementary
#7A8111 #114281 #501181
monochromatic
#1A1B04 #474B0A #7A8111 #ADB718 #D7E32A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8111#FFFFFF#000000##000000
##7A81111.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)
#8B7C1D
Tritanopia (blue-blind)
#83796D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8111;
/* rgb */ color: rgb(122, 129, 17);
/* oklch */ color: oklch(57.8% 0.124 113.6);
Tailwind
colors: {
  custom: {
    50: '#a4a55d',
    500: '#7a8111',
    950: '#000000',
  },
}
SCSS
$custom: #7a8111;
$custom-light: #a4a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8111",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 63.75,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.12436,
    "h": 113.6
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#7A8111
secondary
#3F37B7
accent
#35F340
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8111

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

Preview Lab → · Contrast checker → · Palette generator →

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