#7A781D#7A781D

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

Color values

HEX#7A781D
RGBrgb(122, 120, 29)
HSLhsl(59, 62%, 30%)
HSVhsv(59, 76%, 48%)
CMYKcmyk(0%, 1.6%, 76.2%, 52.2%)
CIE-LABlab(49.08, -10.53, 46.95)
CIE-LCHlch(49.08, 48.12, 102.64°)
OKLaboklab(55.74% -0.0339 0.1034)
OKLCHoklch(55.74% 0.109 108.2)
XYZxyz(14.9649, 17.6597, 3.7825)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A781D #1D1F7A
analogous
#7A4A1D #7A781D #4D7A1D
triadic
#7A781D #1D7A78 #781D7A
tetradic
#7A781D #1D7A4A #1D1F7A #7A1D4D
square
#7A781D #1D7A4A #1D1F7A #7A1D4D
split-complementary
#7A781D #1D4D7A #4A1D7A
monochromatic
#191806 #494711 #7A781D #ABA929 #D2CE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A781D#FFFFFF#000000##FFFFFF
##7A781D1.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)
#82730A
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#837067
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a781d;
/* rgb */ color: rgb(122, 120, 29);
/* oklch */ color: oklch(55.7% 0.109 108.2);
Tailwind
colors: {
  custom: {
    50: '#a49e61',
    500: '#7a781d',
    950: '#000000',
  },
}
SCSS
$custom: #7a781d;
$custom-light: #a49e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a781d",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 58.71,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.1088,
    "h": 108.2
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#7A781D
secondary
#4547AE
accent
#47E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A781D

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

Preview Lab → · Contrast checker → · Palette generator →

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