#7A7D1E#7A7D1E

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

Color values

HEX#7A7D1E
RGBrgb(122, 125, 30)
HSLhsl(62, 61%, 30%)
HSVhsv(62, 76%, 49%)
CMYKcmyk(2.4%, 0%, 76%, 51%)
CIE-LABlab(50.57, -13.21, 47.99)
CIE-LCHlch(50.57, 49.77, 105.39°)
OKLaboklab(56.93% -0.0413 0.1058)
OKLCHoklch(56.93% 0.114 111.3)
XYZxyz(15.5945, 18.8989, 4.0544)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D1E #211E7D
analogous
#7D501E #7A7D1E #4A7D1E
triadic
#7A7D1E #1E7A7D #7D1E7A
tetradic
#7A7D1E #1E7D50 #211E7D #7D1E4A
square
#7A7D1E #1E7D50 #211E7D #7D1E4A
split-complementary
#7A7D1E #1E4A7D #501E7D
monochromatic
#1A1A06 #4A4C12 #7A7D1E #AAAE2A #CDD243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7D1E#FFFFFF#000000##000000
##7A7D1E1.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)
#87770A
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d1e;
/* rgb */ color: rgb(122, 125, 30);
/* oklch */ color: oklch(56.9% 0.114 111.3);
Tailwind
colors: {
  custom: {
    50: '#a3a262',
    500: '#7a7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d1e;
$custom-light: #a3a262;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d1e",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 61.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.11355,
    "h": 111.3
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#7A7D1E
secondary
#4A46B0
accent
#43E448
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #7A7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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