#7A882C#7A882C

#7A882C is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.7% C 0.117 H 117.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7A882C
RGBrgb(122, 136, 44)
HSLhsl(69, 51%, 35%)
HSVhsv(69, 68%, 53%)
CMYKcmyk(10.3%, 0%, 67.6%, 46.7%)
CIE-LABlab(53.95, -18.23, 45.77)
CIE-LCHlch(53.95, 49.27, 111.72°)
OKLaboklab(59.68% -0.0539 0.1035)
OKLCHoklch(59.68% 0.117 117.5)
XYZxyz(17.2852, 21.9279, 5.7043)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A882C #3A2C88
analogous
#88682C #7A882C #4C882C
triadic
#7A882C #2C7A88 #882C7A
tetradic
#7A882C #2C8868 #3A2C88 #882C4C
square
#7A882C #2C8868 #3A2C88 #882C4C
split-complementary
#7A882C #2C4C88 #682C88
monochromatic
#272C0E #515A1D #7A882C #A3B63B #BCCC62

Accessibility & contrast

On white

3.90
#7A882C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7A882C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A882C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A882C#FFFFFF#000000##000000
##7A882C1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#818075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a882c;
/* rgb */ color: rgb(122, 136, 44);
/* oklch */ color: oklch(59.7% 0.117 117.5);
Tailwind
colors: {
  custom: {
    50: '#a3aa6a',
    500: '#7a882c',
    950: '#000000',
  },
}
SCSS
$custom: #7a882c;
$custom-light: #a3aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a882c",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 69.13,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.11673,
    "h": 117.5
  },
  "luminance": 0.21928
}

Semantic roles & 50–950 ramp

primary
#7A882C
secondary
#6A5DB3
accent
#4DDB63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A882C

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

Preview Lab → · Contrast checker → · Palette generator →

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