#7A882B#7A882B

#7A882B 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.38:1 contrast (WCAG AA passes).

Color values

HEX#7A882B
RGBrgb(122, 136, 43)
HSLhsl(69, 52%, 35%)
HSVhsv(69, 68%, 53%)
CMYKcmyk(10.3%, 0%, 68.4%, 46.7%)
CIE-LABlab(53.94, -18.30, 46.18)
CIE-LCHlch(53.94, 49.68, 111.61°)
OKLaboklab(59.67% -0.0542 0.1043)
OKLCHoklch(59.67% 0.118 117.5)
XYZxyz(17.2666, 21.9205, 5.6065)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A882B #392B88
analogous
#88672B #7A882B #4C882B
triadic
#7A882B #2B7A88 #882B7A
tetradic
#7A882B #2B8867 #392B88 #882B4C
square
#7A882B #2B8867 #392B88 #882B4C
split-complementary
#7A882B #2B4C88 #672B88
monochromatic
#272B0E #505A1C #7A882B #A4B63A #BDCD61

Accessibility & contrast

On white

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

On black

5.38
#7A882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A882B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A882B#FFFFFF#000000##000000
##7A882B1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a882b;
/* rgb */ color: rgb(122, 136, 43);
/* oklch */ color: oklch(59.7% 0.117 117.5);
Tailwind
colors: {
  custom: {
    50: '#a3aa6a',
    500: '#7a882b',
    950: '#000000',
  },
}
SCSS
$custom: #7a882b;
$custom-light: #a3aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a882b",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 69.032,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59667,
    "c": 0.1175,
    "h": 117.5
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

primary
#7A882B
secondary
#695CB3
accent
#4CDB62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A882B

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

Preview Lab → · Contrast checker → · Palette generator →

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