#7C8F35#7C8F35

#7C8F35 is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.118 H 120.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7C8F35
RGBrgb(124, 143, 53)
HSLhsl(73, 46%, 38%)
HSVhsv(73, 63%, 56%)
CMYKcmyk(13.3%, 0%, 62.9%, 43.9%)
CIE-LABlab(56.27, -20.32, 44.31)
CIE-LCHlch(56.27, 48.75, 114.63°)
OKLaboklab(61.61% -0.0589 0.1017)
OKLCHoklch(61.61% 0.118 120.1)
XYZxyz(18.7775, 24.1871, 7.0468)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F35 #48358F
analogous
#8F7535 #7C8F35 #4F8F35
triadic
#7C8F35 #357C8F #8F357C
tetradic
#7C8F35 #358F75 #48358F #8F354F
square
#7C8F35 #358F75 #48358F #8F354F
split-complementary
#7C8F35 #354F8F #75358F
monochromatic
#2F3614 #556224 #7C8F35 #A2BB47 #B9CB73

Accessibility & contrast

On white

3.60
#7C8F35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7C8F35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F35
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F35#FFFFFF#000000##000000
##7C8F351.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872A
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#83887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f35;
/* rgb */ color: rgb(124, 143, 53);
/* oklch */ color: oklch(61.6% 0.118 120.1);
Tailwind
colors: {
  custom: {
    50: '#a4af70',
    500: '#7c8f35',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f35;
$custom-light: #a4af70;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f35",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 72.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.11757,
    "h": 120.1
  },
  "luminance": 0.24187
}

Semantic roles & 50–950 ramp

primary
#7C8F35
secondary
#7B6CB4
accent
#52D66E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8F35

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

Preview Lab → · Contrast checker → · Palette generator →

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