#7A8025#7A8025

#7A8025 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.112 H 113.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A8025
RGBrgb(122, 128, 37)
HSLhsl(64, 55%, 32%)
HSVhsv(64, 71%, 50%)
CMYKcmyk(4.7%, 0%, 71.1%, 49.8%)
CIE-LABlab(51.51, -14.45, 46.20)
CIE-LCHlch(51.51, 48.40, 107.36°)
OKLaboklab(57.7% -0.0441 0.1033)
OKLCHoklch(57.7% 0.112 113.1)
XYZxyz(16.0796, 19.7098, 4.7072)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8025 #2B2580
analogous
#805925 #7A8025 #4D8025
triadic
#7A8025 #257A80 #80257A
tetradic
#7A8025 #258059 #2B2580 #80254D
square
#7A8025 #258059 #2B2580 #80254D
split-complementary
#7A8025 #254D80 #592580
monochromatic
#1F210A #4D5117 #7A8025 #A7AF33 #C5CD52

Accessibility & contrast

On white

4.25
#7A8025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7A8025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8025
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8025#FFFFFF#000000##000000
##7A80251.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#82786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8025;
/* rgb */ color: rgb(122, 128, 37);
/* oklch */ color: oklch(57.7% 0.112 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a466',
    500: '#7a8025',
    950: '#000000',
  },
}
SCSS
$custom: #7a8025;
$custom-light: #a3a466;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8025",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 63.956,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.577,
    "c": 0.11229,
    "h": 113.1
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#7A8025
secondary
#5650B1
accent
#49DE53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8025

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

Preview Lab → · Contrast checker → · Palette generator →

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