#7A783A#7A783A

#7A783A is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.084 H 107.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A783A
RGBrgb(122, 120, 58)
HSLhsl(58, 36%, 35%)
HSVhsv(58, 52%, 48%)
CMYKcmyk(0%, 1.6%, 52.5%, 52.2%)
CIE-LABlab(49.35, -8.45, 33.96)
CIE-LCHlch(49.35, 35.00, 103.98°)
OKLaboklab(56.04% -0.0247 0.0802)
OKLCHoklch(56.04% 0.084 107.2)
XYZxyz(15.5066, 17.8764, 6.6358)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A783A #3A3C7A
analogous
#7A583A #7A783A #5C7A3A
triadic
#7A783A #3A7A78 #783A7A
tetradic
#7A783A #3A7A58 #3A3C7A #7A3A5C
square
#7A783A #3A7A58 #3A3C7A #7A3A5C
split-complementary
#7A783A #3A5C7A #583A7A
monochromatic
#272613 #514F26 #7A783A #A3A14E #BCBA72

Accessibility & contrast

On white

4.59
#7A783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A783A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A783A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A783A#FFFFFF#000000##FFFFFF
##7A783A1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817434
Deuteranopia (green-blind)
#82773D
Tritanopia (blue-blind)
#82716A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a783a;
/* rgb */ color: rgb(122, 120, 58);
/* oklch */ color: oklch(56.0% 0.084 107.2);
Tailwind
colors: {
  custom: {
    50: '#a29e72',
    500: '#7a783a',
    950: '#000000',
  },
}
SCSS
$custom: #7a783a;
$custom-light: #a29e72;
$custom-dark: #000000;
JSON
{
  "hex": "#7a783a",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 58.125,
    "s": 35.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.08389,
    "h": 107.2
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#7A783A
secondary
#6A6CA6
accent
#60CC5C
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #7A783A

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

Preview Lab → · Contrast checker → · Palette generator →

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