#7C822A#7C822A

#7C822A is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.110 H 113.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7C822A
RGBrgb(124, 130, 42)
HSLhsl(64, 51%, 34%)
HSVhsv(64, 68%, 51%)
CMYKcmyk(4.6%, 0%, 67.7%, 49%)
CIE-LABlab(52.31, -14.30, 44.97)
CIE-LCHlch(52.31, 47.19, 107.64°)
OKLaboklab(58.39% -0.0433 0.1015)
OKLCHoklch(58.39% 0.11 113.1)
XYZxyz(16.7132, 20.4179, 5.2507)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C822A #302A82
analogous
#825C2A #7C822A #50822A
triadic
#7C822A #2A7C82 #822A7C
tetradic
#7C822A #2A825C #302A82 #822A50
square
#7C822A #2A825C #302A82 #822A50
split-complementary
#7C822A #2A5082 #5C2A82
monochromatic
#24250C #50541B #7C822A #A8B039 #C3CA5C

Accessibility & contrast

On white

4.13
#7C822A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7C822A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C822A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C822A#FFFFFF#000000##000000
##7C822A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#847A70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c822a;
/* rgb */ color: rgb(124, 130, 42);
/* oklch */ color: oklch(58.4% 0.110 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a669',
    500: '#7c822a',
    950: '#000000',
  },
}
SCSS
$custom: #7c822a;
$custom-light: #a4a669;
$custom-dark: #000000;
JSON
{
  "hex": "#7c822a",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 64.091,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.11033,
    "h": 113.1
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#7C822A
secondary
#5E58B0
accent
#4DDB57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C822A

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

Preview Lab → · Contrast checker → · Palette generator →

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