#7A881E#7A881E

#7A881E is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.126 H 117.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7A881E
RGBrgb(122, 136, 30)
HSLhsl(68, 64%, 33%)
HSVhsv(68, 78%, 53%)
CMYKcmyk(10.3%, 0%, 77.9%, 46.7%)
CIE-LABlab(53.86, -19.03, 51.07)
CIE-LCHlch(53.86, 54.50, 110.44°)
OKLaboklab(59.57% -0.0575 0.1123)
OKLCHoklch(59.57% 0.126 117.1)
XYZxyz(17.0650, 21.8398, 4.5446)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A881E #2C1E88
analogous
#88611E #7A881E #45881E
triadic
#7A881E #1E7A88 #881E7A
tetradic
#7A881E #1E8861 #2C1E88 #881E45
square
#7A881E #1E8861 #2C1E88 #881E45
split-complementary
#7A881E #1E4588 #611E88
monochromatic
#202408 #4D5613 #7A881E #A7BA29 #C4D749

Accessibility & contrast

On white

3.91
#7A881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7A881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A881E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A881E#FFFFFF#000000##000000
##7A881E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928003
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#828074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a881e;
/* rgb */ color: rgb(122, 136, 30);
/* oklch */ color: oklch(59.6% 0.126 117.1);
Tailwind
colors: {
  custom: {
    50: '#a4aa63',
    500: '#7a881e',
    950: '#000000',
  },
}
SCSS
$custom: #7a881e;
$custom-light: #a4aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a881e",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 67.925,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.12613,
    "h": 117.1
  },
  "luminance": 0.2184
}

Semantic roles & 50–950 ramp

primary
#7A881E
secondary
#5749B9
accent
#41E757
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A881E

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

Preview Lab → · Contrast checker → · Palette generator →

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