#7A7D20#7A7D20

#7A7D20 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.112 H 111.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7A7D20
RGBrgb(122, 125, 32)
HSLhsl(62, 59%, 31%)
HSVhsv(62, 74%, 49%)
CMYKcmyk(2.4%, 0%, 74.4%, 51%)
CIE-LABlab(50.58, -13.11, 47.26)
CIE-LCHlch(50.58, 49.04, 105.50°)
OKLaboklab(56.95% -0.0408 0.1046)
OKLCHoklch(56.95% 0.112 111.3)
XYZxyz(15.6209, 18.9095, 4.1933)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D20 #23207D
analogous
#7D5120 #7A7D20 #4B7D20
triadic
#7A7D20 #207A7D #7D207A
tetradic
#7A7D20 #207D51 #23207D #7D204B
square
#7A7D20 #207D51 #23207D #7D204B
split-complementary
#7A7D20 #204B7D #51207D
monochromatic
#1B1C07 #4A4C14 #7A7D20 #AAAE2C #CCD047

Accessibility & contrast

On white

4.39
#7A7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7A7D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7D20
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7D20#FFFFFF#000000##000000
##7A7D201.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d20;
/* rgb */ color: rgb(122, 125, 32);
/* oklch */ color: oklch(56.9% 0.112 111.3);
Tailwind
colors: {
  custom: {
    50: '#a3a263',
    500: '#7a7d20',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d20;
$custom-light: #a3a263;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d20",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 61.935,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.11228,
    "h": 111.3
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#7A7D20
secondary
#4C49B0
accent
#45E24A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #7A7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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