#7A781E#7A781E

#7A781E is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.108 H 108.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A781E
RGBrgb(122, 120, 30)
HSLhsl(59, 61%, 30%)
HSVhsv(59, 75%, 48%)
CMYKcmyk(0%, 1.6%, 75.4%, 52.2%)
CIE-LABlab(49.09, -10.48, 46.58)
CIE-LCHlch(49.09, 47.75, 102.68°)
OKLaboklab(55.75% -0.0337 0.1028)
OKLCHoklch(55.75% 0.108 108.2)
XYZxyz(14.9774, 17.6647, 3.8487)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A781E #1E207A
analogous
#7A4A1E #7A781E #4E7A1E
triadic
#7A781E #1E7A78 #781E7A
tetradic
#7A781E #1E7A4A #1E207A #7A1E4E
square
#7A781E #1E7A4A #1E207A #7A1E4E
split-complementary
#7A781E #1E4E7A #4A1E7A
monochromatic
#191806 #494812 #7A781E #ABA82A #D0CD42

Accessibility & contrast

On white

4.63
#7A781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A781E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A781E#FFFFFF#000000##FFFFFF
##7A781E1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#837067
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a781e;
/* rgb */ color: rgb(122, 120, 30);
/* oklch */ color: oklch(55.8% 0.108 108.2);
Tailwind
colors: {
  custom: {
    50: '#a39e61',
    500: '#7a781e',
    950: '#000000',
  },
}
SCSS
$custom: #7a781e;
$custom-light: #a39e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a781e",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 58.696,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.10816,
    "h": 108.2
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#7A781E
secondary
#4648AE
accent
#48E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7A781E

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

Preview Lab → · Contrast checker → · Palette generator →

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