#7C8E2E#7C8E2E

#7C8E2E is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.122 H 119.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7C8E2E
RGBrgb(124, 142, 46)
HSLhsl(71, 51%, 37%)
HSVhsv(71, 68%, 56%)
CMYKcmyk(12.7%, 0%, 67.6%, 44.3%)
CIE-LABlab(55.92, -20.33, 47.01)
CIE-LCHlch(55.92, 51.21, 113.38°)
OKLaboklab(61.3% -0.0596 0.1064)
OKLCHoklch(61.3% 0.122 119.3)
XYZxyz(18.4786, 23.8285, 6.2101)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E2E #402E8E
analogous
#8E702E #7C8E2E #4C8E2E
triadic
#7C8E2E #2E7C8E #8E2E7C
tetradic
#7C8E2E #2E8E70 #402E8E #8E2E4C
square
#7C8E2E #2E8E70 #402E8E #8E2E4C
split-complementary
#7C8E2E #2E4C8E #702E8E
monochromatic
#2B3210 #54601F #7C8E2E #A4BC3D #BBCE68

Accessibility & contrast

On white

3.64
#7C8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7C8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E2E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E2E#FFFFFF#000000##000000
##7C8E2E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#83867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e2e;
/* rgb */ color: rgb(124, 142, 46);
/* oklch */ color: oklch(61.3% 0.122 119.3);
Tailwind
colors: {
  custom: {
    50: '#a4af6c',
    500: '#7c8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e2e;
$custom-light: #a4af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e2e",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 71.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.12199,
    "h": 119.3
  },
  "luminance": 0.23828
}

Semantic roles & 50–950 ramp

primary
#7C8E2E
secondary
#7263B5
accent
#4DDB68
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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