#7A891A#7A891A

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

Color values

HEX#7A891A
RGBrgb(122, 137, 26)
HSLhsl(68, 68%, 32%)
HSVhsv(68, 81%, 54%)
CMYKcmyk(10.9%, 0%, 81%, 46.3%)
CIE-LABlab(54.14, -19.73, 52.61)
CIE-LCHlch(54.14, 56.19, 110.56°)
OKLaboklab(59.79% -0.0597 0.1148)
OKLCHoklch(59.79% 0.129 117.5)
XYZxyz(17.1586, 22.1037, 4.3396)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A891A #291A89
analogous
#89611A #7A891A #43891A
triadic
#7A891A #1A7A89 #891A7A
tetradic
#7A891A #1A8961 #291A89 #891A43
square
#7A891A #1A8961 #291A89 #891A43
split-complementary
#7A891A #1A4389 #611A89
monochromatic
#1E2206 #4C5610 #7A891A #A8BC24 #C7DB42

Accessibility & contrast

On white

3.87
#7A891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A891A#FFFFFF#000000##000000
##7A891A1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a891a;
/* rgb */ color: rgb(122, 137, 26);
/* oklch */ color: oklch(59.8% 0.129 117.5);
Tailwind
colors: {
  custom: {
    50: '#a4ab62',
    500: '#7a891a',
    950: '#000000',
  },
}
SCSS
$custom: #7a891a;
$custom-light: #a4ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a891a",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 68.108,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.12942,
    "h": 117.5
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#7A891A
secondary
#5343BC
accent
#3DEB54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A891A

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

Preview Lab → · Contrast checker → · Palette generator →

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