#7A781A#7A781A

#7A781A is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.111 H 108.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A781A
RGBrgb(122, 120, 26)
HSLhsl(59, 65%, 29%)
HSVhsv(59, 79%, 48%)
CMYKcmyk(0%, 1.6%, 78.7%, 52.2%)
CIE-LABlab(49.06, -10.67, 48.01)
CIE-LCHlch(49.06, 49.18, 102.53°)
OKLaboklab(55.72% -0.0346 0.105)
OKLCHoklch(55.72% 0.111 108.2)
XYZxyz(14.9295, 17.6456, 3.5966)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A781A #1A1C7A
analogous
#7A481A #7A781A #4C7A1A
triadic
#7A781A #1A7A78 #781A7A
tetradic
#7A781A #1A7A48 #1A1C7A #7A1A4C
square
#7A781A #1A7A48 #1A1C7A #7A1A4C
split-complementary
#7A781A #1A4C7A #481A7A
monochromatic
#191905 #48460F #7A781A #ACAA25 #D5D239

Accessibility & contrast

On white

4.64
#7A781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7A781A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A781A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A781A#FFFFFF#000000##FFFFFF
##7A781A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#837066
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a781a;
/* rgb */ color: rgb(122, 120, 26);
/* oklch */ color: oklch(55.7% 0.111 108.2);
Tailwind
colors: {
  custom: {
    50: '#a49e5f',
    500: '#7a781a',
    950: '#000000',
  },
}
SCSS
$custom: #7a781a;
$custom-light: #a49e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a781a",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 58.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.11058,
    "h": 108.2
  },
  "luminance": 0.17645
}

Semantic roles & 50–950 ramp

primary
#7A781A
secondary
#4144AE
accent
#43E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A781A

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

Preview Lab → · Contrast checker → · Palette generator →

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