#7D8A34#7D8A34

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

Color values

HEX#7D8A34
RGBrgb(125, 138, 52)
HSLhsl(69, 45%, 37%)
HSVhsv(69, 62%, 54%)
CMYKcmyk(9.4%, 0%, 62.3%, 45.9%)
CIE-LABlab(54.85, -17.38, 43.24)
CIE-LCHlch(54.85, 46.60, 111.89°)
OKLaboklab(60.48% -0.0509 0.0993)
OKLCHoklch(60.48% 0.112 117.1)
XYZxyz(18.1661, 22.7851, 6.6891)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A34 #41348A
analogous
#8A6C34 #7D8A34 #528A34
triadic
#7D8A34 #347D8A #8A347D
tetradic
#7D8A34 #348A6C #41348A #8A3452
square
#7D8A34 #348A6C #41348A #8A3452
split-complementary
#7D8A34 #34528A #6C348A
monochromatic
#2C3113 #555E23 #7D8A34 #A5B645 #BBC96F

Accessibility & contrast

On white

3.78
#7D8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7D8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A34
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A34#FFFFFF#000000##000000
##7D8A341.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832A
Deuteranopia (green-blind)
#92843A
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a34;
/* rgb */ color: rgb(125, 138, 52);
/* oklch */ color: oklch(60.5% 0.112 117.1);
Tailwind
colors: {
  custom: {
    50: '#a5ac6f',
    500: '#7d8a34',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a34;
$custom-light: #a5ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a34",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 69.07,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.11158,
    "h": 117.1
  },
  "luminance": 0.22785
}

Semantic roles & 50–950 ramp

primary
#7D8A34
secondary
#7469B1
accent
#53D567
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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