#7D8A3A#7D8A3A

#7D8A3A is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.106 H 117.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7D8A3A
RGBrgb(125, 138, 58)
HSLhsl(70, 41%, 38%)
HSVhsv(70, 58%, 54%)
CMYKcmyk(9.4%, 0%, 58%, 45.9%)
CIE-LABlab(54.91, -16.88, 40.47)
CIE-LCHlch(54.91, 43.85, 112.64°)
OKLaboklab(60.55% -0.0488 0.0942)
OKLCHoklch(60.55% 0.106 117.4)
XYZxyz(18.3099, 22.8426, 7.4467)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A3A #473A8A
analogous
#8A6F3A #7D8A3A #558A3A
triadic
#7D8A3A #3A7D8A #8A3A7D
tetradic
#7D8A3A #3A8A6F #473A8A #8A3A55
square
#7D8A3A #3A8A6F #473A8A #8A3A55
split-complementary
#7D8A3A #3A558A #6F3A8A
monochromatic
#2F3416 #565F28 #7D8A3A #A3B44D #BAC678

Accessibility & contrast

On white

3.77
#7D8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7D8A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A3A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A3A#FFFFFF#000000##000000
##7D8A3A1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938332
Deuteranopia (green-blind)
#91843F
Tritanopia (blue-blind)
#848379
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a3a;
/* rgb */ color: rgb(125, 138, 58);
/* oklch */ color: oklch(60.5% 0.106 117.4);
Tailwind
colors: {
  custom: {
    50: '#a4ac73',
    500: '#7d8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a3a;
$custom-light: #a4ac73;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a3a",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 69.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60546,
    "c": 0.10607,
    "h": 117.4
  },
  "luminance": 0.22842
}

Semantic roles & 50–950 ramp

primary
#7D8A3A
secondary
#7A70B0
accent
#57D16B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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