#7E8025#7E8025

#7E8025 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.111 H 110.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E8025
RGBrgb(126, 128, 37)
HSLhsl(61, 55%, 32%)
HSVhsv(61, 71%, 50%)
CMYKcmyk(1.6%, 0%, 71.1%, 49.8%)
CIE-LABlab(51.85, -12.63, 46.65)
CIE-LCHlch(51.85, 48.33, 105.15°)
OKLaboklab(58.05% -0.0392 0.1041)
OKLCHoklch(58.05% 0.111 110.7)
XYZxyz(16.6578, 20.0080, 4.7343)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8025 #272580
analogous
#805525 #7E8025 #508025
triadic
#7E8025 #257E80 #80257E
tetradic
#7E8025 #258055 #272580 #802550
square
#7E8025 #258055 #272580 #802550
split-complementary
#7E8025 #255080 #552580
monochromatic
#21210A #4F5117 #7E8025 #ADAF33 #CACD52

Accessibility & contrast

On white

4.20
#7E8025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7E8025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8025
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8025#FFFFFF#000000##000000
##7E80251.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8025;
/* rgb */ color: rgb(126, 128, 37);
/* oklch */ color: oklch(58.1% 0.111 110.7);
Tailwind
colors: {
  custom: {
    50: '#a6a466',
    500: '#7e8025',
    950: '#000000',
  },
}
SCSS
$custom: #7e8025;
$custom-light: #a6a466;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8025",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 61.319,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.11124,
    "h": 110.7
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

primary
#7E8025
secondary
#5250B1
accent
#49DE4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8025

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

Preview Lab → · Contrast checker → · Palette generator →

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