#7D8025#7D8025

#7D8025 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.111 H 111.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7D8025
RGBrgb(125, 128, 37)
HSLhsl(62, 55%, 32%)
HSVhsv(62, 71%, 50%)
CMYKcmyk(2.3%, 0%, 71.1%, 49.8%)
CIE-LABlab(51.76, -13.09, 46.53)
CIE-LCHlch(51.76, 48.34, 105.71°)
OKLaboklab(57.96% -0.0404 0.1039)
OKLCHoklch(57.96% 0.111 111.3)
XYZxyz(16.5111, 19.9323, 4.7275)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8025 #282580
analogous
#805625 #7D8025 #508025
triadic
#7D8025 #257D80 #80257D
tetradic
#7D8025 #258056 #282580 #802550
square
#7D8025 #258056 #282580 #802550
split-complementary
#7D8025 #255080 #562580
monochromatic
#20210A #4F5117 #7D8025 #ABAF33 #C9CD52

Accessibility & contrast

On white

4.21
#7D8025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7D8025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8025
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8025#FFFFFF#000000##000000
##7D80251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A16
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d8025;
/* rgb */ color: rgb(125, 128, 37);
/* oklch */ color: oklch(58.0% 0.111 111.3);
Tailwind
colors: {
  custom: {
    50: '#a5a466',
    500: '#7d8025',
    950: '#000000',
  },
}
SCSS
$custom: #7d8025;
$custom-light: #a5a466;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8025",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 61.978,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.11149,
    "h": 111.3
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#7D8025
secondary
#5350B1
accent
#49DE4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8025

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

Preview Lab → · Contrast checker → · Palette generator →

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