#7D8D38#7D8D38

#7D8D38 is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.2% C 0.112 H 118.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7D8D38
RGBrgb(125, 141, 56)
HSLhsl(71, 43%, 39%)
HSVhsv(71, 60%, 55%)
CMYKcmyk(11.3%, 0%, 60.3%, 44.7%)
CIE-LABlab(55.78, -18.62, 42.40)
CIE-LCHlch(55.78, 46.31, 113.70°)
OKLaboklab(61.24% -0.0539 0.0981)
OKLCHoklch(61.24% 0.112 118.8)
XYZxyz(18.6964, 23.6954, 7.3293)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D38 #48388D
analogous
#8D7238 #7D8D38 #528D38
triadic
#7D8D38 #387D8D #8D387D
tetradic
#7D8D38 #388D72 #48388D #8D3852
square
#7D8D38 #388D72 #48388D #8D3852
split-complementary
#7D8D38 #38528D #72388D
monochromatic
#2F3515 #566127 #7D8D38 #A3B74B #B9C977

Accessibility & contrast

On white

3.66
#7D8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7D8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D38
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D38#FFFFFF#000000##000000
##7D8D381.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862F
Deuteranopia (green-blind)
#94863D
Tritanopia (blue-blind)
#84867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8d38;
/* rgb */ color: rgb(125, 141, 56);
/* oklch */ color: oklch(61.2% 0.112 118.8);
Tailwind
colors: {
  custom: {
    50: '#a5ae72',
    500: '#7d8d38',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d38;
$custom-light: #a5ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d38",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 71.294,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.1119,
    "h": 118.8
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#7D8D38
secondary
#7C6FB2
accent
#55D36D
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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