#7C8D38#7C8D38

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

Color values

HEX#7C8D38
RGBrgb(124, 141, 56)
HSLhsl(72, 43%, 39%)
HSVhsv(72, 60%, 55%)
CMYKcmyk(12.1%, 0%, 60.3%, 44.7%)
CIE-LABlab(55.71, -19.04, 42.30)
CIE-LCHlch(55.71, 46.39, 114.24°)
OKLaboklab(61.16% -0.055 0.0979)
OKLCHoklch(61.16% 0.112 119.4)
XYZxyz(18.5511, 23.6205, 7.3225)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D38 #49388D
analogous
#8D7338 #7C8D38 #518D38
triadic
#7C8D38 #387C8D #8D387C
tetradic
#7C8D38 #388D73 #49388D #8D3851
square
#7C8D38 #388D73 #49388D #8D3851
split-complementary
#7C8D38 #38518D #73388D
monochromatic
#2F3515 #556127 #7C8D38 #A2B74B #B8C977

Accessibility & contrast

On white

3.67
#7C8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7C8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D38
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D38#FFFFFF#000000##000000
##7C8D381.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96852F
Deuteranopia (green-blind)
#94863D
Tritanopia (blue-blind)
#83867B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d38;
/* rgb */ color: rgb(124, 141, 56);
/* oklch */ color: oklch(61.2% 0.112 119.4);
Tailwind
colors: {
  custom: {
    50: '#a4ae72',
    500: '#7c8d38',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d38;
$custom-light: #a4ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d38",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 72,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61159,
    "c": 0.11227,
    "h": 119.4
  },
  "luminance": 0.2362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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