#7C8B3F#7C8B3F

#7C8B3F is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.103 H 118.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C8B3F
RGBrgb(124, 139, 63)
HSLhsl(72, 38%, 40%)
HSVhsv(72, 55%, 55%)
CMYKcmyk(10.8%, 0%, 54.7%, 45.5%)
CIE-LABlab(55.18, -17.37, 38.30)
CIE-LCHlch(55.18, 42.06, 114.39°)
OKLaboklab(60.77% -0.0496 0.0901)
OKLCHoklch(60.77% 0.103 118.8)
XYZxyz(18.4422, 23.1093, 8.1907)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B3F #4E3F8B
analogous
#8B743F #7C8B3F #568B3F
triadic
#7C8B3F #3F7C8B #8B3F7C
tetradic
#7C8B3F #3F8B74 #4E3F8B #8B3F56
square
#7C8B3F #3F8B74 #4E3F8B #8B3F56
split-complementary
#7C8B3F #3F568B #743F8B
monochromatic
#313719 #56612C #7C8B3F #A0B255 #B7C57F

Accessibility & contrast

On white

3.74
#7C8B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7C8B3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B3F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B3F#FFFFFF#000000##000000
##7C8B3F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938438
Deuteranopia (green-blind)
#918443
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b3f;
/* rgb */ color: rgb(124, 139, 63);
/* oklch */ color: oklch(60.8% 0.103 118.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac76',
    500: '#7c8b3f',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b3f;
$custom-light: #a4ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b3f",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 71.842,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.10283,
    "h": 118.8
  },
  "luminance": 0.23109
}

Semantic roles & 50–950 ramp

primary
#7C8B3F
secondary
#8276AF
accent
#5ACE71
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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