#7A882D#7A882D

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

Color values

HEX#7A882D
RGBrgb(122, 136, 45)
HSLhsl(69, 50%, 35%)
HSVhsv(69, 67%, 53%)
CMYKcmyk(10.3%, 0%, 66.9%, 46.7%)
CIE-LABlab(53.96, -18.16, 45.35)
CIE-LCHlch(53.96, 48.85, 111.83°)
OKLaboklab(59.69% -0.0536 0.1028)
OKLCHoklch(59.69% 0.116 117.5)
XYZxyz(17.3042, 21.9355, 5.8045)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A882D #3B2D88
analogous
#88682D #7A882D #4C882D
triadic
#7A882D #2D7A88 #882D7A
tetradic
#7A882D #2D8868 #3B2D88 #882D4C
square
#7A882D #2D8868 #3B2D88 #882D4C
split-complementary
#7A882D #2D4C88 #682D88
monochromatic
#272C0F #515A1E #7A882D #A3B63C #BCCC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A882D#FFFFFF#000000##000000
##7A882D1.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)
#918121
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#818175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a882d;
/* rgb */ color: rgb(122, 136, 45);
/* oklch */ color: oklch(59.7% 0.116 117.5);
Tailwind
colors: {
  custom: {
    50: '#a3aa6b',
    500: '#7a882d',
    950: '#000000',
  },
}
SCSS
$custom: #7a882d;
$custom-light: #a3aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a882d",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 69.231,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.11594,
    "h": 117.5
  },
  "luminance": 0.21935
}

Semantic roles & 50–950 ramp

primary
#7A882D
secondary
#6C5FB2
accent
#4EDA64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A882D

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

Preview Lab → · Contrast checker → · Palette generator →

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